System.Windows.Forms.ControlBindingsCollection Members

The members of System.Windows.Forms.ControlBindingsCollection are listed below.

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

Public Constructors

Initializes a new instance of the System.Windows.Forms.ControlBindingsCollection class with the specified bindable control.

Public Properties

[read-only]
BindableComponentIBindableComponent.

Gets the System.Windows.Forms.IBindableComponent the binding collection belongs to.

[read-only]
ControlControl.

Gets the control that the collection belongs to.

DefaultDataSourceUpdateModeDataSourceUpdateMode.

Gets or sets the default Binding.DataSourceUpdateMode for a System.Windows.Forms.Binding in the collection.

[read-only]
default property
Item(string)Binding. Documentation for this section has not yet been entered.

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.