[]
Serves as a base class for RibbonItem collections such as RibbonItemCollection and RibbonGalleryItemCollection
public abstract class RibbonItemCollectionBase : CollectionBase, IList, ICollection, IEnumerable
Name | Description |
---|---|
Add(RibbonItem) | Adds the specified RibbonItem to the collection. |
BeginUpdate() | Maintains performance while items are being added or removed from the collection. |
ClearAndDisposeItems() | Removes all items from the collection, then disposes the items. |
ClearAndDisposeItemsDirect() | |
Contains(RibbonItem) | Determines whether this collection contains the specified RibbonItem. |
Contains(string) | Determines whether the collection contains a RibbonItem with the given name. |
EndUpdate() | Resumes processing after it has been suspended by a call to BeginUpdate(). |
IndexOf(RibbonItem) | Determines the index of a specific RibbonItem in the collection. |
IndexOfRef(RibbonItem) | |
Insert(int, RibbonItem) | Inserts the specified RibbonItem into this collection at the given index. |
OnClear() | Performs additional custom processes when clearing the contents of the RibbonItemCollectionBase instance. |
OnClearComplete() | Performs additional custom processes after clearing the contents of the RibbonItemCollectionBase instance. |
OnInsertComplete(int, object) | Performs additional custom processes after inserting a RibbonItem into the RibbonItemCollectionBase instance. |
OnRemoveComplete(int, object) | Performs additional custom processes after removing a RibbonItem from the RibbonItemCollectionBase instance. |
OnSetComplete(int, object, object) | Performs additional custom processes after setting a RibbonItem in the RibbonItemCollectionBase instance. |
OnValidate(object) | Checks whather the type of the value argument is allowable for this item collection. |
Remove(RibbonItem) | Removes the first occurrence of the specified RibbonItem from the collection. |