A generic owner collection which holds RadItems.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
T
Syntax:
public class RadItemOwnerGenericCollection<T> : RadItemOwnerCollection, IList, ICollection, IEnumerable where T : RadItem
Inheritance: objectCollectionBaseRadItemCollectionRadItemOwnerCollectionRadItemOwnerGenericCollection<T>
Derived Classes:
Implements:
Inherited Members
Constructors
public RadItemOwnerGenericCollection()
Properties
Gets the first element of the collection.
public T First { get; }
Last
T
Gets the last element of the collection.
public T Last { get; }
Represents the entry at the specified index of the item.
public T this[int index] { get; set; }
The zero-based index of the entry to locate in the collection.
Property Value:The entry at the specified index of the collection.
Exceptions:index is outside the valid range of indexes for the collection.
Methods
Adds a item with the specified value to the Telerik.WinControls.RadItemCollection .
public int Add(T value)
The item to add.
Returns:The index at which the new element was inserted.
Copies the elements of an array to the end of the RadItemCollection.
public void AddRange(params T[] value)
An array of type item containing the objects to add to the collection.
Returns the index of an item in the RadItemCollection.
public int IndexOf(T value)
The value to locate.
Returns:The index of value in the
RadItemCollection, if found; otherwise, -1.
Inserts a item into the RadItemCollection at the specified index.
public void Insert(int index, T value)
The zero-based index where value should be inserted.
The item to insert.
Removes a specific item from the RadItemCollection .
public void Remove(T value)
The item to remove from the RadItemCollection .
Exceptions:value is not found in the Collection.