New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadListDataItemCollection : IList, ICollection, IEnumerable

Inheritance: objectRadListDataItemCollection

Derived Classes: RadCheckedListDataItemCollection

Implements: ICollectionIEnumerableIList

Constructors

C#
public RadListDataItemCollection(ListDataLayer dataLayer, RadListElement ownerListElement)
Parameters:dataLayerListDataLayerownerListElementRadListElement

Properties

C#
public int Count { get; }

Implements: ICollection.Count

C#
public RadListDataItem First { get; }
C#
public bool IsReadOnly { get; }

Implements: IList.IsReadOnly

C#
public RadListDataItem Last { get; }
C#
public ListDataLayer Owner { get; }
C#
public RadListElement OwnerListElement { get; }
C#
public RadListDataItem this[int index] { get; set; }
Parameters:indexint

Methods

C#
public virtual void Add(RadListDataItem item)
Parameters:itemRadListDataItem
C#
public virtual void Add(string itemText)
Parameters:itemTextstring
C#
public void AddRange(IEnumerable<RadListDataItem> range)
Parameters:rangeIEnumerable<RadListDataItem>
C#
public virtual void AddRange(IEnumerable<string> textStrings)
Parameters:textStringsIEnumerable<string>
C#
public void Clear()

Implements: IList.Clear()

C#
public bool Contains(RadListDataItem item)
Parameters:itemRadListDataItemReturns:

bool

Determines whether [contains] [the specified text].

C#
public bool Contains(string text)
Parameters:textstring

The text.

Returns:

bool

true if [contains] [the specified text]; otherwise, false.

C#
public void CopyTo(RadListDataItem[] array, int arrayIndex)
Parameters:arrayRadListDataItem[]arrayIndexint
C#
public IEnumerator<RadListDataItem> GetEnumerator()
Returns:

IEnumerator<RadListDataItem>

Indexes the of.

C#
public int IndexOf(RadListDataItem item)
Parameters:itemRadListDataItem

The item.

Returns:

int

Indexes the of.

C#
public int IndexOf(string text)
Parameters:textstring

The text.

Returns:

int

C#
public void Insert(int index, RadListDataItem item)
Parameters:indexintitemRadListDataItem
C#
public bool Remove(RadListDataItem item)
Parameters:itemRadListDataItemReturns:

bool

C#
public void RemoveAt(int index)
Parameters:indexint

Implements: IList.RemoveAt(int)