TX Text Control .NET Server

ActivationState Property

Property|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Gets or sets a value indicating the dialog box's activation state. It can be activated, deactivated or disabled.

Syntax

public ActivationState ActivationState { get; set; }

Members

ValueDescription
ActivatedThe dialog box is activated, which means that it has the keyboard input focus.
DeactivatedThe dialog box is deactivated, which means that it does not have the keyboard input focus.
DisabledThe dialog box is disabled, which means that it cannot get the keyboard input focus.

Examples

The following example uses DialogViewGenerator.ActivationState to configure activation state as part of the dialog view generator workflow. The configured value is checked before the workflow continues.

dialogViewGenerator.ActivationState = TXTextControl.ServerVisualisation.ActivationState.Activated;
Console.WriteLine($"Activation State used by Dialog View Generator: {dialogViewGenerator.ActivationState}");