This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ListBinding Members
Public:
Constructor
Properties
ChangedEventDescriptor |
Returns the event descriptor for the Changed listener for this binding. NOTE: This is not in spec, but I found it useful for testing. We need to DCR or hide this. |
Control |
Gets the control to which the binding belongs. |
DataMember |
Gets or sets the column name to bind to. |
IsBinding |
Gets a value indicating whether the binding is active. |
ListManager |
Gets the ListManager of this binding that allows enumeration of a set of bindings. |
PropertyName |
Gets or sets the property on the control to bind to. |
Methods
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
ShouldPersistDataMember |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Events
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
OnConvertFromTarget |
[To be supplied.] |
OnConvertToTarget |
[To be supplied.] |
Event Hookup:
Methods
AddOnConvertFromTarget |
Adds an event handler for the convert from event. This event occurs when getting a value from the control and returning it to the datacolumn, and gives the user the chance to change the value. |
AddOnConvertToTarget |
Adds an event handler for the convert to event. This event occurs when getting a value from the datacolumn and sending it to the control, and gives the user the chance to change the value. |
RemoveOnConvertFromTarget |
Removes an event handler for the convert from event. This event occurs when getting a value from the control and returning it to the datacolumn, and gives the user the chance to change the value. |
RemoveOnConvertToTarget |
Removes an event handler for the convert to event. This event occurs when getting a value from the datacolumn and sending it to the control, and gives the user the chance to change the value. |
See Also
ListBinding Class | System.WinForms Namespace