System.Windows.Forms.ControlBindingsCollection: Method Members

The methods of System.Windows.Forms.ControlBindingsCollection are listed below. For a list of all members, see the ControlBindingsCollection Members list.

See Also: Inherited members from System.Windows.Forms.BindingsCollection

Public Methods

Add(Binding)

Adds the specified System.Windows.Forms.Binding to the collection.

Add(string, object, string) : Binding

Creates a System.Windows.Forms.Binding using the specified control property name, data source, and data member, and adds it to the collection.

Add(string, object, string, bool) : Binding

Creates a binding with the specified control property name, data source, data member, and information about whether formatting is enabled, and adds the binding to the collection.

Add(string, object, string, bool, DataSourceUpdateMode) : Binding

Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting, propagating values to the data source based on the specified update setting, and adding the binding to the collection.

Add(string, object, string, bool, DataSourceUpdateMode, object) : Binding

Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting, propagating values to the data source based on the specified update setting, setting the property to the specified value when DBNull is returned from the data source, and adding the binding to the collection.

Add(string, object, string, bool, DataSourceUpdateMode, object, string) : Binding

Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting with the specified format string, propagating values to the data source based on the specified update setting, setting the property to the specified value when DBNull is returned from the data source, and adding the binding to the collection.

Add(string, object, string, bool, DataSourceUpdateMode, object, string, IFormatProvider) : Binding

Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting with the specified format string, propagating values to the data source based on the specified update setting, setting the property to the specified value when DBNull is returned from the data source, setting the specified format provider, and adding the binding to the collection.

Clear()

Clears the collection of any bindings.

Remove(Binding)

Deletes the specified System.Windows.Forms.Binding from the collection.

RemoveAt(int)

Deletes the System.Windows.Forms.Binding at the specified index.

Protected Methods

override
AddCore(Binding)

Adds a binding to the collection.

override
ClearCore()

Clears the bindings in the collection.

override
RemoveCore(Binding)

Removes the specified binding from the collection.