TX Spell .NET for Windows Forms

Enabled Property

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

Description

Gets or sets a value indicating whether the DialogButton can respond to user interaction.

Syntax

public bool Enabled { get; set; }

Examples

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

dialogButton.Enabled = true;
if (dialogButton.Enabled)
{
    Console.WriteLine("Dialog Button: Enabled is enabled.");
}