TX Text Control .NET for Windows Forms

Enabled 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 sets a value indicating whether this dialog box launcher is enabled.

Syntax

public bool Enabled { get; set; }

Examples

The following example uses DialogBoxLauncher.Enabled to configure enabled as part of the dialog box launcher workflow. The configured value is checked before the workflow continues.

dialogBoxLauncher.Enabled = true;
if (dialogBoxLauncher.Enabled)
{
    Console.WriteLine("Dialog Box Launcher: Enabled is enabled.");
}