TX Text Control .NET Server

ModifierKeys Enumeration

Enumeration|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Server.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Server.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Determines a pressed modifier key. It contains the following values:

Syntax

public enum UserInput.ModifierKeys

Members

MemberValueDescription
None0No modifier key was pressed.
Shift4The SHIFT key was pressed.
Control8The CTRL key was pressed.
Alt2048The ALT key was pressed.

Examples

The following example selects the Shift value from the Modifier Keys enumeration and uses it as a documented workflow choice.

TXTextControl.ServerVisualisation.UserInput.ModifierKeys value = TXTextControl.ServerVisualisation.UserInput.ModifierKeys.Shift;
Console.WriteLine($"Using Modifier Keys: {value}");