TX Text Control .NET Server

MouseButtons 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 mouse button. It contains the following values:

Syntax

public enum UserInput.MouseButtons

Members

MemberValueDescription
None0No mouse button was pressed.
Left1The left mouse button was pressed.
Right2The right mouse button was pressed.
Middle16The middle mouse button was pressed.
XButton132The first XButton button was pressed.
XButton264The 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}");