Export (0) Print
Expand All

ControlBindingsCollection.Add Method

Adds a Binding to the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Add(Binding) Adds the specified Binding to the collection.
Public method Add(String, Object, String) Creates a Binding using the specified control property name, data source, and data member, and adds it to the collection.
Public method Add(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.
Public method Add(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.
Public method Add(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.
Public method Add(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.
Public method Add(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.
Top
Show:
© 2014 Microsoft