TX Text Control .NET for Windows Forms

Enabled Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether the field is enabled or not.

Syntax

public abstract bool Enabled { get; set; }

Examples

The following example uses FormFieldAdapter.Enabled to configure enabled as part of the form field adapter workflow. The configured value is checked before the workflow continues.

formFieldAdapter.Enabled = true;
if (formFieldAdapter.Enabled)
{
    Console.WriteLine("Form Field Adapter: Enabled is enabled.");
}