Constructors
-
Binding
List`1() Initializes a new instance of the BindingList`1 class using default values. -
Binding
List`1(IList<`0>) Initializes a new instance of the BindingList`1 class with the specified list.
Methods
-
Add
New() Adds a new item to the collection. -
Add
New protectedvirtual Adds a new item to the end of the collection.Core() -
Apply
Sort protectedvirtual Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.Core(Property Descriptor, List Sort Direction) -
Cancel
New(Int32) virtual Discards a pending new item. -
Clear
Items() protectedvirtual Removes all elements from the collection. -
End
New(Int32) virtual Commits a pending new item to the collection. -
Find
Core(Property protectedvirtual Searches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException.Descriptor, Object) -
Insert
Item(Int32, protectedvirtual Inserts the specified item in the list at the specified index.`0) -
On
Adding protectedvirtual Raises the AddingNew event.New(Adding New Event Args) -
On
List protectedvirtual Raises the ListChanged event.Changed(List Changed Event Args) -
Remove
Item(Int32) protectedvirtual Removes the item at the specified index. -
Remove
Sort protectedvirtual Removes any sort applied with ApplySortCore(System.ComponentModel.PropertyDescriptor, System.ComponentModel.ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.Core() -
Reset
Bindings() Raises a ListChanged event of type Reset. -
Reset
Item(Int32) Raises a ListChanged event of type ItemChanged for the item at the specified position. -
Set
Item(Int32, protectedvirtual Replaces the item at the specified index with the specified item.`0)
Properties
-
Allow
Edit Gets or sets a value indicating whether items in the list can be edited. -
Allow
New Gets or sets a value indicating whether you can add items to the list using the AddNew method. -
Allow
Remove Gets or sets a value indicating whether you can remove items from the collection. -
Is
Sorted protectedvirtual Gets a value indicating whether the list is sorted.Core -
Raise
List Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.Changed Events -
Sort
Direction protectedvirtual Gets the direction the list is sorted.Core -
Sort
Property protectedvirtual Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns null.Core -
Supports
Change protectedvirtual Gets a value indicating whether ListChanged events are enabled.Notification Core -
Supports
Searching protectedvirtual Gets a value indicating whether the list supports searching.Core -
Supports
Sorting protectedvirtual Gets a value indicating whether the list supports sorting.Core -
System.
Component privatesealed Gets a value indicating whether items in the list can be edited.Model. IBinding List. Allow Edit -
System.
Component privatesealed Gets a value indicating whether new items can be added to the list using the AddNew method.Model. IBinding List. Allow New -
System.
Component privatesealed Gets a value indicating whether items can be removed from the list.Model. IBinding List. Allow Remove -
System.
Component privatesealed For a description of this member, see IsSorted.Model. IBinding List. Is Sorted -
System.
Component privatesealed For a description of this member, see SortDirection.Model. IBinding List. Sort Direction -
System.
Component privatesealed For a description of this member, see SortProperty.Model. IBinding List. Sort Property -
System.
Component privatesealed For a description of this member, see SupportsChangeNotification.Model. IBinding List. Supports Change Notification -
System.
Component privatesealed For a description of this member, see SupportsSearching.Model. IBinding List. Supports Searching -
System.
Component privatesealed For a description of this member, see SupportsSorting.Model. IBinding List. Supports Sorting -
System.
Component privatesealed Gets a value indicating whether item property value changes raise ListChanged events of type ItemChanged. This member cannot be overridden in a derived class.Model. IRaise Item Changed Events. Raises Item Changed Events
Events
-
Adding
New Occurs before an item is added to the list. -
List
Changed sealed Occurs when the list or an item in the list changes.