[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonTabCollection.Item

this Property

this[int]

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

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

Index of the item.

Property Value
Type Description
RibbonTab

The RibbonTab at the specified index.

this[string]

Gets the RibbonTab with the specified name.

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

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

Property Value
Type Description
RibbonTab

The RibbonTab with the specified name.

Remarks

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