[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonTabCollection

RibbonTabCollection Class

Represents a collection of RibbonTabs.

Inheritance
RibbonTabCollection
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
[ListBindable(false)]
public class RibbonTabCollection : CollectionBase, IList, ICollection, IEnumerable

Properties

Name Description
this[int]

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

this[string]

Gets the RibbonTab with the specified name.

Methods

Name Description
Add(RibbonTab)

Adds the specified RibbonTab to the collection.

Add(string)

Adds a new tab with the specified text to the collection.

ClearAndDisposeTabs()

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

Contains(RibbonTab)

Determines whether the RibbonTabCollection contains a specific RibbonTab.

Contains(string)

Determines whether the collection contains a RibbonTab with the given name.

IndexOf(RibbonTab)

Determines the index of a specified RibbonTab in the RibbonTabCollection.

IndexOf(string)

Gets the index of the RibbonTab with the given name.

Insert(int, RibbonTab)

Inserts a RibbonTab to the RibbonTabCollection at the specified index.

OnClearComplete()

Performs additional custom processes after clearing the contents of the RibbonTabCollection instance.

OnInsertComplete(int, object)

Performs additional custom processes after inserting a RibbonTab into the RibbonTabCollection instance.

OnRemoveComplete(int, object)

Performs additional custom processes after removing a RibbonTab from the RibbonTabCollection instance.

OnSetComplete(int, object, object)

Performs additional custom processes after setting a RibbonTab in the RibbonTabCollection instance.

OnValidate(object)

Checks that the value is a RibbonTab.

Remove(RibbonTab)

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