[]
Determines whether the collection contains a RibbonItem with the given name.
public bool Contains(string name)
Type | Name | Description |
---|---|---|
string | name | String containing the name of the item to locate (case-sensitive). |
Type | Description |
---|---|
bool | True if the RibbonGroup or any of the RibbonToolBar or
RibbonToggleGroup objects in the group contains a RibbonItem
with the given |
Use the string indexer to locate RibbonItem objects by name
.
Determines whether this collection contains the specified RibbonItem.
public bool Contains(RibbonItem item)
Type | Name | Description |
---|---|---|
RibbonItem | item |
Type | Description |
---|---|
bool |