New to Telerik UI for WinForms? Start a free 30-day trial

A binding-aware list that wraps each supplied value in a ValueItem<T>.

Definition

Namespace:Telerik.WinControls.UI.Data

Assembly:Telerik.WinControls.UI.dll

Type Parameters:

T

The type of values stored in the list.

Syntax:

C#
public class ValueBindingList<T> : BindingList<ValueItem<T>>, IBindingList, IList, ICollection, IEnumerable, ICancelAddNew, IRaiseItemChangedEvents

Inheritance: objectCollection<ValueItem<T>>BindingList<ValueItem<T>>ValueBindingList<T>

Implements: IBindingListICancelAddNewICollectionIEnumerableIListIRaiseItemChangedEvents...

Inherited Members BindingList<ValueItem<T>>.OnAddingNew(AddingNewEventArgs)BindingList<ValueItem<T>>.OnListChanged(ListChangedEventArgs)BindingList<ValueItem<T>>.ResetBindings()BindingList<ValueItem<T>>.ResetItem(int)BindingList<ValueItem<T>>.ClearItems()BindingList<ValueItem<T>>.InsertItem(int, ValueItem<T>)BindingList<ValueItem<T>>.RemoveItem(int)BindingList<ValueItem<T>>.SetItem(int, ValueItem<T>)BindingList<ValueItem<T>>.CancelNew(int)BindingList<ValueItem<T>>.EndNew(int)BindingList<ValueItem<T>>.AddNew()BindingList<ValueItem<T>>.AddNewCore()BindingList<ValueItem<T>>.ApplySortCore(PropertyDescriptor, ListSortDirection)BindingList<ValueItem<T>>.RemoveSortCore()BindingList<ValueItem<T>>.FindCore(PropertyDescriptor, object)BindingList<ValueItem<T>>.RaiseListChangedEventsBindingList<ValueItem<T>>.AllowNewBindingList<ValueItem<T>>.AllowEditBindingList<ValueItem<T>>.AllowRemoveBindingList<ValueItem<T>>.SupportsChangeNotificationCoreBindingList<ValueItem<T>>.SupportsSearchingCoreBindingList<ValueItem<T>>.SupportsSortingCoreBindingList<ValueItem<T>>.IsSortedCoreBindingList<ValueItem<T>>.SortPropertyCoreBindingList<ValueItem<T>>.SortDirectionCoreBindingList<ValueItem<T>>.AddingNewBindingList<ValueItem<T>>.ListChangedCollection<ValueItem<T>>.Add(ValueItem<T>)Collection<ValueItem<T>>.Clear()Collection<ValueItem<T>>.CopyTo(ValueItem<T>[], int)Collection<ValueItem<T>>.Contains(ValueItem<T>)Collection<ValueItem<T>>.GetEnumerator()Collection<ValueItem<T>>.IndexOf(ValueItem<T>)Collection<ValueItem<T>>.Insert(int, ValueItem<T>)Collection<ValueItem<T>>.Remove(ValueItem<T>)Collection<ValueItem<T>>.RemoveAt(int)Collection<ValueItem<T>>.CountCollection<ValueItem<T>>.ItemsCollection<ValueItem<T>>.this[int]...

Constructors

Creates a list and wraps each supplied value as a list item.

C#
public ValueBindingList(params T[] items)
Parameters:itemsT[]

The initial values to wrap and add.

Methods

Wraps and appends each supplied value, adding each wrapper through the binding list's normal item-add path.

C#
public void AddRange(params T[] items)
Parameters:itemsT[]

The values to wrap and append.