Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BindingList<T> Constructor (IList<T>^)

 

Initializes a new instance of the BindingList<T> class with the specified list.

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

public:
BindingList(
	IList<T>^ list
)

Parameters

list
Type: System.Collections.Generic::IList<T>^

An IList<T> of items to be contained in the BindingList<T>.

Use this BindingList<T> to create a BindingList<T> that is backed by list, which ensures that changes to list are reflected in the BindingList<T>.

The following table shows initial property values for an instance of BindingList<T> class.

Property

Initial Value

AllowEdit

true

AllowNew

true if the list type has a default constructor; otherwise, false.

AllowRemove

true

RaiseListChangedEvents

true

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft