[]
Gets or sets the RibbonContextualTabGroup at the specified position in the collection.
public RibbonContextualTabGroup this[int index] { get; set; }
Type | Name | Description |
---|---|---|
int | index | Index of the item. |
Type | Description |
---|---|
RibbonContextualTabGroup | The RibbonContextualTabGroup at the specified |
Gets the RibbonContextualTabGroup with the specified name.
public RibbonContextualTabGroup this[string name] { get; }
Type | Name | Description |
---|---|---|
string | name | String containing the name of the tab group to locate (case-sensitive). |
Type | Description |
---|---|
RibbonContextualTabGroup | The RibbonContextualTabGroup with the specified |
If the collection does not contain a tab group with the specified name
,
an ArgumentOutOfRangeException exception is thrown.