Enabled Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets a value indicating whether the DialogButton can respond to user interaction.
Syntax
public bool Enabled { get; set; }Public Property Enabled As BooleanExamples
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.");
}dialogButton.Enabled = True
If dialogButton.Enabled Then
Console.WriteLine("Dialog Button: Enabled is enabled.")
End If