TX Text Control .NET for Windows Forms

ButtonEnabled Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or set a value indicating whether the primary button is enabled.

Syntax

public bool ButtonEnabled { get; set; }

Examples

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();