ButtonEnabled Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or set a value indicating whether the primary button is enabled.
Syntax
public bool ButtonEnabled { get; set; }Public Property ButtonEnabled As BooleanExamples
The following example uses RibbonSplitButton.ButtonEnabled to configure button enabled as part of the ribbon split button workflow. The change is then applied to the active document or user interface.
ribbonSplitButton.ButtonEnabled = true;
ribbonSplitButton.Update();ribbonSplitButton.ButtonEnabled = True
ribbonSplitButton.Update()