Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ControlBindingsCollection Methods

The ControlBindingsCollection type exposes the following members.

  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.
Protected method AddCore Adds a binding to the collection. (Overrides BindingsCollection.AddCore(Binding).)
Public method Clear Clears the collection of any bindings.
Protected method ClearCore Infrastructure. Clears the bindings in the collection. (Overrides BindingsCollection.ClearCore().)
Public method CopyTo Copies all the elements of the current one-dimensional Array to the specified one-dimensional Array starting at the specified destination Array index. (Inherited from BaseCollection.)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Gets the object that enables iterating through the members of the collection. (Inherited from BaseCollection.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Protected method OnCollectionChanged Raises the CollectionChanged event. (Inherited from BindingsCollection.)
Protected method OnCollectionChanging Raises the CollectionChanging event. (Inherited from BindingsCollection.)
Public method Remove Deletes the specified Binding from the collection.
Public method RemoveAt Deletes the Binding at the specified index.
Protected method RemoveCore Infrastructure. Removes the specified binding from the collection. (Overrides BindingsCollection.RemoveCore(Binding).)
Protected method ShouldSerializeMyAll Gets a value that indicates whether the collection should be serialized. (Inherited from BindingsCollection.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.