[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonTabCollection

RibbonTabCollection Class

Represents a collection of RibbonTab objects in a RibbonBar.

Inheritance
RibbonTabCollection
Namespace: GrapeCity.Spreadsheet.WinForms.Ribbon
Assembly: GrapeCity.Spreadsheet.WinForms.Ribbon.dll
Syntax
public sealed class RibbonTabCollection
Public NotInheritable Class RibbonTabCollection

Properties

Name Description
Count

Gets the number of tabs contained in the RibbonTabCollection instance.

this[int]

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

this[string]

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

Methods

Name Description
Add(RibbonTab)

Adds a RibbonTab to the RibbonTabCollection.

ClearAndDisposeTabs()

Removes all tabs from the collection, then disposes the tabs.

Insert(int, RibbonTab)

Inserts a RibbonTab to the RibbonTabCollection at the specified index.

Remove(RibbonTab)

Removes the first occurrence of the specified RibbonTab from the RibbonTabCollection.

RemoveAt(int)

Removes the RibbonTab at the specified index of the RibbonTabCollection.