ModifierKeys Enumeration
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Server. Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.Server. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Determines a pressed modifier key. It contains the following values:
Syntax
public enum UserInput.ModifierKeysPublic Enum UserInput.ModifierKeysMembers
| Member | Value | Description |
|---|---|---|
| None | 0 | No modifier key was pressed. |
| Shift | 4 | The SHIFT key was pressed. |
| Control | 8 | The CTRL key was pressed. |
| Alt | 2048 | The 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}");Dim value As TXTextControl.ServerVisualisation.UserInput.ModifierKeys = TXTextControl.ServerVisualisation.UserInput.ModifierKeys.Shift
Console.WriteLine($"Using Modifier Keys: {value}")