ActivationState Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public Property ActivationState As ActivationStateMembers
| Value | Description |
|---|---|
| Activated | The dialog box is activated, which means that it has the keyboard input focus. |
| Deactivated | The dialog box is deactivated, which means that it does not have the keyboard input focus. |
| Disabled | The 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}");dialogViewGenerator.ActivationState = TXTextControl.ServerVisualisation.ActivationState.Activated
Console.WriteLine($"Activation State used by Dialog View Generator: {dialogViewGenerator.ActivationState}")