[]
Gets the index of the RibbonContextualTabGroup with the given name.
public int IndexOf(string name)
| Type | Name | Description |
|---|---|---|
| string | name | String containing the name of the tab group to locate (case-sensitive). |
| Type | Description |
|---|---|
| int | The index of the object in the collection, or -1 if the name was not found. |
Determines the index of a specified RibbonContextualTabGroup in the RibbonTabGroupCollection.
public int IndexOf(RibbonContextualTabGroup tabGroup)
| Type | Name | Description |
|---|---|---|
| RibbonContextualTabGroup | tabGroup |
| Type | Description |
|---|---|
| int |