Table of Contents

Class CadRibbonPanel

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

A panel of a ribbon tab: a titled row of items, as AutoCAD's RibbonPanel.

public sealed class CadRibbonPanel
Inheritance
CadRibbonPanel
Inherited Members

Constructors

CadRibbonPanel(string)

Makes a panel.

Properties

DialogLauncher

Gets or sets the arrow at the right of the panel's title that opens the panel's dialog, as AutoCAD's RibbonPanelSource.DialogLauncher: its command, callback or macro runs on a click, its tooltip is the button's and it is grey where its CanRun says no. Its icon, size and text are not drawn. Null, until set, for a panel with none. A plugin that uses it states [assembly: CadPluginApi("1.2")].

Items

Gets the items, left to right: a large item stands alone in its column, and standard items that follow one another stack in columns of three, top down, as AutoCAD's row panels do.

SlideOutItems

Gets the items under the panel's title with a small arrow, as AutoCAD's items after a RibbonPanelBreak: laid out as Items are, shown in a drop-down that the title opens, which closes after a button runs unless it is pinned. Empty, until filled, for a panel with none. A plugin that uses it states [assembly: CadPluginApi("1.2")].

Title

Gets the title under the panel.