IRibbonContext

Assembly: Forms;

Description

The IRibbonContext interface contains properties that are used to work with a context tab.

Inheritance Hierarchy

          IComponent

          IRibbonContext

Comments

The context tab is displayed on the ribbon when the specific events occur, for example, when any object is selected in the application. The context tab is hidden by default. Use the Visible property to control the visibility of context tab. Any context tab is built on the base of ordinary tabs. Use Categories property to get the collection of tabs included in the current context tab.

Properties

  Property name Brief description
The Categories property returns the collection of child tabs that form the contents of the context tab.
The Id property returns identifier of the context tab.
The Text property determines text of the context tab header.
The Visible property determines whether the context tab is displayed.

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components located on the parent component.
Components The Components property returns the child component, which index is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property determines a component name.
Tag The compiler does not use the Tag property. The user can change the value of the Tag property and use it as he wishes.

See also:

Forms Assembly Interfaces