[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonGroupCollection.Item

this Property

this[int]

Gets or sets the RibbonGroup at the specified position in the collection.

Declaration
public RibbonGroup this[int index] { get; set; }
Parameters
Type Name Description
int index

Index of the item.

Property Value
Type Description
RibbonGroup

The RibbonGroup at the specified index.

this[string]

Gets the RibbonGroup with the specified name.

Declaration
public RibbonGroup this[string name] { get; }
Parameters
Type Name Description
string name

String containing the name of the item to locate (case-sensitive).

Property Value
Type Description
RibbonGroup

The RibbonGroup with the specified name.

Remarks

If the collection does not contain an item with the specified name, an ArgumentOutOfRangeException exception is thrown.