Class CadPluginButton
A button a plugin puts in the header of the DRAWINGS list, left of the presenter's Refresh and Open: an icon with a tooltip that runs a callback.
public sealed class CadPluginButton
- Inheritance
-
CadPluginButton
- Inherited Members
Constructors
- CadPluginButton(CadPluginIcon, string, Action<CadPluginContext>)
Makes a button.
Properties
- CanRun
Gets or sets whether the button is on, asked when the window asks its commands again; null, until set, for always. A predicate that throws gives false.
- Icon
Gets the icon.
- Run
Gets the callback.
- ToolTip
Gets the tooltip.