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

A regular list that wraps each supplied value in a ValueItem<T>; unlike ValueBindingList<T>, it does not provide binding-list collection-change notifications.

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 ValueList<T> : List<ValueItem<T>>, IList, ICollection, IEnumerable

Inheritance: objectList<ValueItem<T>>ValueList<T>

Implements: ICollectionIEnumerableIList

Constructors

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

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

The initial values to wrap and add.

Methods

Wraps and appends each supplied value.

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

The values to wrap and append.