MonobjcMonobjc Documented Class Library
BindToObjectWithKeyPathOptions Method (binding, observableController, keyPath, options)
NamespacesMonobjc.FoundationNSObjectBindToObjectWithKeyPathOptions(NSString, Id, NSString, NSDictionary)

Establishes a binding between a given property of the receiver and the property of a given object specified by a given key path.

Original signature is '- (void)bind:(NSString *)binding toObject:(id)observableController withKeyPath:(NSString *)keyPath options:(NSDictionary *)options'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void BindToObjectWithKeyPathOptions(
	NSString binding,
	Id observableController,
	NSString keyPath,
	NSDictionary options
Public Overridable Sub BindToObjectWithKeyPathOptions ( _
	binding As NSString, _
	observableController As Id, _
	keyPath As NSString, _
	options As NSDictionary _
virtual void BindToObjectWithKeyPathOptions(
	NSString^ binding, 
	Id^ observableController, 
	NSString^ keyPath, 
	NSDictionary^ options
binding (NSString)
The key path for a property of the receiver previously exposed using the exposeBinding: method.
observableController (Id)
The bound-to object.
keyPath (NSString)
A key path to a property reachable from observableController. The elements in the path must be key-value observing compliant (see Key-Value Observing Programming Guide).
options (NSDictionary)
A dictionary containing options for the binding, such as placeholder objects or an NSValueTransformer identifier as described in “Constants.” This value is optional—pass nil to specify no options.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)