Property CanRun
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.
public Func<CadPluginContext, bool> CanRun { get; set; }
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.
public Func<CadPluginContext, bool> CanRun { get; set; }