[]
Represents a collection of RibbonItem objects.
public class RibbonItemCollection
Public Class RibbonItemCollection
Name | Description |
---|---|
Count | Gets the number of elements contained in the RibbonItemCollection. |
this[int] | Gets or sets the RibbonItem at the specified position of the collection. |
this[string] | Gets the first RibbonItem with the specified name. |
Name | Description |
---|---|
Add(RibbonItem) | Adds the specified RibbonItem to the collection. |
Add(string) | Adds a RibbonButton item to the collection. |
ClearAndDisposeItems() | Removes all items from the collection, then disposes the items. |
IndexOf(string) | Determines the index of the first occurrence of a RibbonItem with the specified name in this collection. |
Insert(int, RibbonItem) | Inserts an item to the list at the specified index. |
Remove(RibbonItem) | Removes the first occurrence of the specified RibbonItem from the collection. |