Class CadRibbonTab
A tab of the ribbon a plugin adds, as AutoCAD's RibbonTab: panels of buttons. It comes after the Plugins tab and
before Settings, in the order the plugins were loaded; with ShowWhen set it is a contextual tab instead,
green and shown only while the answer is true.
public sealed class CadRibbonTab
- Inheritance
-
CadRibbonTab
- Inherited Members
Constructors
- CadRibbonTab(string, string)
Makes a tab.
Properties
- Id
Gets the tab's identity.
- Panels
Gets the panels, left to right; read when Initialize(CadPluginHost) returns.
- ShowWhen
Gets or sets what makes the tab contextual, as AutoCAD's Text Editor tab is: asked when the selection, the drawing or a command changes, the tab is shown, selected as it appears, while it answers true, and goes with Home selected again when it answers false. Null, until set, for a tab that is always shown. A callback that throws gives false.
- Title
Gets the title on the tab strip.