IRibbonContexts

Assembly: Forms;

Description

The IRibbonContexts interface contains properties and methods that are used to work with the collection of context tabs of the ribbon.

Inheritance Hierarchy

IRibbonContexts

Comments

The context tabs of the ribbon are displayed when determined conditions occur, for example, when any object is selected in the application. All context tabs are hidden by default. Use the Visible property to control the visibility of a specific context tab.

Properties

  Property name Brief description
The Count property returns the number of context tabs of the ribbon.
The Item property returns parameters of the specified context tab.

Methods

  Method name Brief description
The Add method adds the specified context tab to the collection.
The Clear method removes all context tabs of the ribbon.
The IndexOf method returns index in the collection for the specified context tab.
The Insert method inserts the specified context tab to the specified position in the collection.
The Remove method removes the specified context tab from the collection.
The RemoveAt method removes the specified context tab from the collection by index.

See also:

Forms Assembly Interfaces