MouseButtons 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 mouse button. It contains the following values:
Syntax
public enum UserInput.MouseButtonsPublic Enum UserInput.MouseButtonsMembers
| Member | Value | Description |
|---|---|---|
| None | 0 | No mouse button was pressed. |
| Left | 1 | The left mouse button was pressed. |
| Right | 2 | The right mouse button was pressed. |
| Middle | 16 | The middle mouse button was pressed. |
| XButton1 | 32 | The first XButton button was pressed. |
| XButton2 | 64 | The second XButton button was pressed. |
Examples
The following example selects the Left value from the Mouse Buttons enumeration and uses it as a documented workflow choice.
TXTextControl.ServerVisualisation.UserInput.MouseButtons value = TXTextControl.ServerVisualisation.UserInput.MouseButtons.Left;
Console.WriteLine($"Using Mouse Buttons: {value}");Dim value As TXTextControl.ServerVisualisation.UserInput.MouseButtons = TXTextControl.ServerVisualisation.UserInput.MouseButtons.Left
Console.WriteLine($"Using Mouse Buttons: {value}")