Class CommandBarStripElementCollection
A collection that stores Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class CommandBarStripElementCollection : CollectionBase, IList, ICollection, IEnumerable<CommandBarStripElement>, IEnumerable
Constructors
CommandBarStripElementCollection()
Initializes a new instance of the RadItemCollectionBase class.
Declaration
public CommandBarStripElementCollection()
CommandBarStripElementCollection(RadElement)
Initializes a new instance of Rad
Declaration
public CommandBarStripElementCollection(RadElement owner)
Parameters
Rad
|
CommandBarStripElementCollection(CommandBarStripElement[])
Initializes a new instance of RadItemCollection containing any array of Rad
Declaration
public CommandBarStripElementCollection(CommandBarStripElement[] value)
Parameters
Command A array of Rad |
CommandBarStripElementCollection(CommandBarStripElementCollection)
Initializes a new instance of RadItemCollection based on another RadItemCollection.
Declaration
public CommandBarStripElementCollection(CommandBarStripElementCollection value)
Parameters
Command A RadItemCollection from which the contents are copied. |
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 CommandBarStripElement this[int index] { get; set; }
Parameters
System. The zero-based index of the entry to locate in the collection. |
Property Value
Command 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 CommandBarStripElement this[string itemName] { get; }
Parameters
System. item Name |
Property Value
Command 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(CommandBarStripElement)
Adds a Rad
Declaration
public int Add(CommandBarStripElement value)
Parameters
Command The Rad |
Returns
System. The index at which the new element was inserted. |
AddRange(CommandBarStripElement[])
Copies the elements of an array to the end of the RadItemCollection.
Declaration
public void AddRange(params CommandBarStripElement[] value)
Parameters
Command An array of type Rad |
AddRange(CommandBarStripElementCollection)
Adds the contents of another RadItemCollection to the end of the collection.
Declaration
public void AddRange(CommandBarStripElementCollection value)
Parameters
Command A RadItemCollection containing the objects to add to the collection. |
AdjustNewItem()
Declaration
public void AdjustNewItem()
Contains(CommandBarStripElement)
Gets a value indicating whether the
RadItemCollection contains the specified Rad
Declaration
public bool Contains(CommandBarStripElement value)
Parameters
Command The Rad |
Returns
System. true if the Rad |
CopyTo(CommandBarStripElement[], Int32)
Copies the RadItemCollection values to a one-dimensional System.
Declaration
public void CopyTo(CommandBarStripElement[] array, int index)
Parameters
Command 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 CommandBarStripElementCollection.CommandBarStripElementEnumerator GetEnumerator()
Returns
IndexOf(CommandBarStripElement)
Returns the index of a Rad
Declaration
public int IndexOf(CommandBarStripElement value)
Parameters
Command The Rad |
Returns
System. The index of the Rad |
Insert(Int32, CommandBarStripElement)
Inserts a Rad
Declaration
public void Insert(int index, CommandBarStripElement value)
Parameters
System. The zero-based index where |
Command 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(CommandBarStripElement, ItemsChangeOperation)
Declaration
protected virtual void OnItemsChanged(CommandBarStripElement target, ItemsChangeOperation operation)
Parameters
Command
|
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 CommandBarStripElement[] ToArray()
Returns
Events
ItemsChanged
Fires when item is changed.
Declaration
public event CommandBarStripElementCollectionItemChangedDelegate ItemsChanged
Event Type
Explicit Interface Implementations
IEnumerable<CommandBarStripElement>.GetEnumerator()
Declaration
IEnumerator<CommandBarStripElement> IEnumerable<CommandBarStripElement>.GetEnumerator()
Returns
System.
|