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