Class RadElementCollection
A collection that stores Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class RadElementCollection : CollectionBase, IList, ICollection, IEnumerable<RadElement>, IEnumerable
Constructors
RadElementCollection(RadElement)
Initializes a new instance of the Rad
Declaration
public RadElementCollection(RadElement owner)
Parameters
Rad
|
RadElementCollection(RadElement, RadElement[])
Initializes a new instance of Rad
Declaration
public RadElementCollection(RadElement owner, RadElement[] value)
Parameters
Rad
|
Rad A array of Rad |
RadElementCollection(RadElement, RadElementCollection)
Initializes a new instance of the Rad
Declaration
public RadElementCollection(RadElement owner, RadElementCollection value)
Parameters
Rad
|
Rad A Rad |
Fields
checkForAlreadyAddedItems
Declaration
public bool checkForAlreadyAddedItems
Field Value
System.
|
Properties
Item[Int32]
Represents the entry at the specified index of the Rad
Declaration
public RadElement this[int index] { get; set; }
Parameters
System. The zero-based index of the entry to locate in the collection. |
Property Value
Rad The entry at the specified index of the collection. |
Exceptions
System.
|
Owner
Methods
Add(RadElement)
Adds a Rad
Declaration
public int Add(RadElement value)
Parameters
Rad The Rad |
Returns
System. The index at which the new element was inserted. |
AddRange(IList<RadElement>)
Copies the elements of an IList of RadElements to the end of the Rad
Declaration
public void AddRange(IList<RadElement> value)
Parameters
System. An List of type Rad |
AddRange(RadElement[])
Copies the elements of an array to the end of the Rad
Declaration
public void AddRange(params RadElement[] value)
Parameters
Rad An array of type Rad |
AddRange(RadElementCollection)
Adds the contents of another Rad
Declaration
public void AddRange(RadElementCollection value)
Parameters
Rad A Rad |
BinarySearch(Int32, Int32, RadElement, IComparer)
Declaration
public int BinarySearch(int index, int count, RadElement value, IComparer comparer)
Parameters
System.
|
System.
|
Rad
|
System.
|
Returns
System.
|
Contains(RadElement)
Gets a value indicating whether the
Rad
Declaration
public bool Contains(RadElement value)
Parameters
Rad The Rad |
Returns
System. true if the Rad |
CopyTo(RadElement[], Int32)
Copies the Rad
Declaration
public void CopyTo(RadElement[] array, int index)
Parameters
Rad The one-dimensional System. |
System. The index in |
Exceptions
System.
-or- The number of elements in the Rad |
System.
|
System.
|
GetEnumerator()
Returns an enumerator that can iterate through
the Rad
Declaration
public RadElementCollection.RadElementEnumerator GetEnumerator()
Returns
IndexOf(RadElement)
Returns the index of a Rad
Declaration
public int IndexOf(RadElement value)
Parameters
Rad The Rad |
Returns
System. The index of the Rad |
Insert(Int32, RadElement)
Inserts a Rad
Declaration
public void Insert(int index, RadElement value)
Parameters
System. The zero-based index where |
Rad The Rad |
Move(Int32, Int32)
Moves the element at position a given position to a new position
Declaration
public void Move(int indexFrom, int indexTo)
Parameters
System. The zero-based index of the element to move |
System. The zero-based index of the position where the element is to be placed |
OnClear()
Declaration
protected override void OnClear()
Overrides
OnClearComplete()
Declaration
protected override void OnClearComplete()
Overrides
OnInsert(Int32, Object)
Declaration
protected override void OnInsert(int index, object value)
Parameters
System.
|
System.
|
Overrides
OnInsertComplete(Int32, Object)
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
System.
|
System.
|
Overrides
OnRemove(Int32, Object)
Declaration
protected override void OnRemove(int index, object value)
Parameters
System.
|
System.
|
Overrides
OnRemoveComplete(Int32, Object)
Declaration
protected override void OnRemoveComplete(int index, object value)
Parameters
System.
|
System.
|
Overrides
OnSet(Int32, Object, Object)
Declaration
protected override void OnSet(int index, object oldValue, object newValue)
Parameters
System.
|
System.
|
System.
|
Overrides
OnSetComplete(Int32, Object, Object)
Declaration
protected override void OnSetComplete(int index, object oldValue, object newValue)
Parameters
System.
|
System.
|
System.
|
Overrides
OnValidate(Object)
Declaration
protected override void OnValidate(object value)
Parameters
System.
|
Overrides
Remove(RadElement)
Removes a specific Rad
Declaration
public void Remove(RadElement value)
Parameters
Rad The Rad |
Exceptions
System.
|
Sort()
Sorts the elements in the entire Rad
Declaration
public void Sort()
Sort(IComparer)
Sorts the elements in the entire Rad
Declaration
public void Sort(IComparer comparer)
Parameters
System. The IComparer implementation to use when comparing elements. |
Sort(Int32, Int32, IComparer)
Sorts the elements in a range of elements in Rad
Declaration
public void Sort(int index, int count, IComparer comparer)
Parameters
System. The zero-based starting index of the range to sort. |
System. The length of the range to sort. |
System. The IComparer implementation to use when comparing elements. |
SwitchItems(Int32, Int32)
Declaration
public void SwitchItems(int indexFrom, int indexTo)
Parameters
System.
|
System.
|
Explicit Interface Implementations
IEnumerable<RadElement>.GetEnumerator()
Declaration
IEnumerator<RadElement> IEnumerable<RadElement>.GetEnumerator()
Returns
System.
|