ribbon-tab
The ribbon-tab element adds a tab into the Ribbon Toolbar.
Namespace
http://xopus.com/2009/lui
Attributes
Name | Description | Type |
|---|---|---|
after | Optional The ID of the sibiling tabs where the tab is positioned after in the ribbon toolbar. | string |
availability | Optional Name of the command, which defines the availability of the tab. See Command.getAvailable. | string |
| available | Optional When false the tab will no longer be available in the toolbar.
| boolean |
before | Optional. The ID of the sibiling tabs where the tab is positioned before in the ribbon toolbar. | string |
id | Optional. ID for the tab component. | string |
Examples
You can find the complete set of examples for configuring the ribbon-toolbar in the topic for the overlay element.
To add a tab right after the home tab:
<x:overlay xmlns="http://xopus.com/2009/lui">
<ribbon-tab id="CustomTab" after="HomeTab">
<ribbon-group id="CustomGroup" label="Formatting">
<ribbon-bigbutton role="strong" />
<ribbon-bigbutton role="emphasis" />
<ribbon-bigbutton role="underline" />
</ribbon-group>
</ribbon-tab>
</x:overlay>
Allowed Children
ribbon-group
Parent Element
overlay