Add Method

ControlBindingsCollection.Add Method

 

Adds a Binding to the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodAdd(Binding)

Adds the specified Binding to the collection.

System_CAPS_pubmethodAdd(String, Object, String)

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

System_CAPS_pubmethodAdd(String, Object, String, Boolean)

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.

System_CAPS_pubmethodAdd(String, Object, String, Boolean, DataSourceUpdateMode)

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.

System_CAPS_pubmethodAdd(String, Object, String, Boolean, DataSourceUpdateMode, Object)

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.

System_CAPS_pubmethodAdd(String, Object, String, Boolean, DataSourceUpdateMode, Object, String)

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.

System_CAPS_pubmethodAdd(String, Object, String, Boolean, DataSourceUpdateMode, Object, String, IFormatProvider)

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.

Return to top
Show:
© 2016 Microsoft