System.ComponentModel.BindingList<T> Class

Provides a generic collection that supports data binding.

See Also: BindingList<T> Members


public class BindingList<T> : System.Collections.ObjectModel.Collection<T>, IBindingList, ICancelAddNew, IRaiseItemChangedEvents

Type Parameters

Documentation for this section has not yet been entered.


The System.ComponentModel.BindingList`1 class can be used as a base class to create a two-way data-binding mechanism. System.ComponentModel.BindingList`1 provides a concrete, generic implementation of the System.ComponentModel.IBindingList interface. This is an alternative to implementing the complete System.ComponentModel.IBindingList interface, which can be difficult because of the subtle interaction between System.ComponentModel.IBindingList, System.ComponentModel.IEditableObject, and the associated System.Windows.Forms.CurrencyManager. However, the typical solutions programmer will use a class that provides data binding functionality, such as System.Windows.Forms.BindingSource, instead of directly using System.ComponentModel.BindingList`1.

System.ComponentModel.BindingList`1 supports factory-created instances through the extensible BindingList`1.AddNew method. (This same type of extensibility is also found in other classes, such as System.Windows.Forms.BindingSource) In addition, since this class implements the System.ComponentModel.ICancelAddNew interface, it enables transactional commits or rollbacks of the new item through the BindingList`1.EndNew(int) and BindingList`1.CancelNew(int) methods.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions:,