Class RadCommandBarBaseItemCollection
A collection that stores Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCommandBarBaseItemCollection : CollectionBase, IList, ICollection, IEnumerable<RadCommandBarBaseItem>, IEnumerable
Constructors
RadCommandBarBaseItemCollection()
Initializes a new instance of the RadItemCollectionBase class.
Declaration
public RadCommandBarBaseItemCollection()
RadCommandBarBaseItemCollection(RadCommandBarBaseItemCollection)
Initializes a new instance of RadItemCollection based on another RadItemCollection.
Declaration
public RadCommandBarBaseItemCollection(RadCommandBarBaseItemCollection value)
Parameters
Rad A RadItemCollection from which the contents are copied. |
RadCommandBarBaseItemCollection(RadElement)
Initializes a new instance of Rad
Declaration
public RadCommandBarBaseItemCollection(RadElement owner)
Parameters
Rad
|
RadCommandBarBaseItemCollection(RadCommandBarBaseItem[])
Initializes a new instance of RadItemCollection containing any array of Rad
Declaration
public RadCommandBarBaseItemCollection(RadCommandBarBaseItem[] value)
Parameters
Rad A array of Rad |
Properties
DefaultType
Declaration
public virtual Type DefaultType { get; set; }
Property Value
System.
|
ExcludedTypes
Gets or sets an array of the excluded items' types for this collection.
Declaration
public virtual Type[] ExcludedTypes { get; set; }
Property Value
System.
|
First
Item[Int32]
Represents the entry at the specified index of the Rad
Declaration
public RadCommandBarBaseItem 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.
|
Item[String]
Gets the first found item, with Name property equal to itemName specified, case-sensitive.
Declaration
public RadCommandBarBaseItem this[string itemName] { get; }
Parameters
System. item Name |
Property Value
Rad RadItem if found, null (Nothing in VB.NET) otherwise |
ItemTypes
Gets or sets an array of the items' types in the collection.
Declaration
public virtual Type[] ItemTypes { get; set; }
Property Value
System.
|
Last
Owner
Gets or sets the owner of the collection.
Declaration
public RadElement Owner { get; set; }
Property Value
SealedTypes
Gets or sets an array of the sealed items' types for this collection. That are types that are allowed but not their descendants.
Declaration
public virtual Type[] SealedTypes { get; set; }
Property Value
System.
|
Methods
Add(RadCommandBarBaseItem)
Adds a Rad
Declaration
public int Add(RadCommandBarBaseItem value)
Parameters
Rad The Rad |
Returns
System. The index at which the new element was inserted. |
AddRange(RadCommandBarBaseItemCollection)
Adds the contents of another RadItemCollection to the end of the collection.
Declaration
public void AddRange(RadCommandBarBaseItemCollection value)
Parameters
Rad A RadItemCollection containing the objects to add to the collection. |
AddRange(RadCommandBarBaseItem[])
Copies the elements of an array to the end of the RadItemCollection.
Declaration
public void AddRange(params RadCommandBarBaseItem[] value)
Parameters
Rad An array of type Rad |
AdjustNewItem()
Declaration
public void AdjustNewItem()
Contains(RadCommandBarBaseItem)
Gets a value indicating whether the
RadItemCollection contains the specified Rad
Declaration
public bool Contains(RadCommandBarBaseItem value)
Parameters
Rad The Rad |
Returns
System. true if the Rad |
CopyTo(RadCommandBarBaseItem[], Int32)
Copies the RadItemCollection values to a one-dimensional System.
Declaration
public void CopyTo(RadCommandBarBaseItem[] array, int index)
Parameters
Rad The one-dimensional System. |
System. The index in |
Exceptions
System.
-or- The number of elements in the RadItemCollection is greater than the available space between |
System.
|
System.
|
GetEnumerator()
Returns an enumerator that can iterate through the RadItemCollection .
Declaration
public RadCommandBarBaseItemCollection.RadCommandBarBaseItemEnumerator GetEnumerator()
Returns
IndexOf(RadCommandBarBaseItem)
Returns the index of a Rad
Declaration
public int IndexOf(RadCommandBarBaseItem value)
Parameters
Rad The Rad |
Returns
System. The index of the Rad |
Insert(Int32, RadCommandBarBaseItem)
Inserts a Rad
Declaration
public void Insert(int index, RadCommandBarBaseItem value)
Parameters
System. The zero-based index where |
Rad The Rad |
OnClear()
Declaration
protected override void OnClear()
Overrides
OnClearComplete()
Declaration
protected override void OnClearComplete()
Overrides
OnInsertComplete(Int32, Object)
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
System.
|
System.
|
Overrides
OnItemsChanged(RadCommandBarBaseItem, ItemsChangeOperation)
Declaration
protected virtual void OnItemsChanged(RadCommandBarBaseItem target, ItemsChangeOperation operation)
Parameters
Rad
|
Items
|
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
OnSort()
Declaration
protected virtual void OnSort()
OnSortComplete()
Declaration
protected void OnSortComplete()
OnValidate(Object)
Declaration
protected override void OnValidate(object value)
Parameters
System.
|
Overrides
Remove(RadItem)
Removes a specific Rad
Declaration
public void Remove(RadItem value)
Parameters
Exceptions
System.
|
ResumeNotifications()
Declaration
public void ResumeNotifications()
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. |
SuspendNotifications()
Declaration
public void SuspendNotifications()
ToArray()
Retrieves an array of the items in the collection.
Declaration
public RadCommandBarBaseItem[] ToArray()
Returns
Events
ItemsChanged
Fires when item is changed.
Declaration
public event RadCommandBarBaseItemCollectionItemChangedDelegate ItemsChanged
Event Type
Explicit Interface Implementations
IEnumerable<RadCommandBarBaseItem>.GetEnumerator()
Declaration
IEnumerator<RadCommandBarBaseItem> IEnumerable<RadCommandBarBaseItem>.GetEnumerator()
Returns
System.
|