UserInput Class
- 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
- Inherits
- Marshal
By Ref Object - User
Input
- Marshal
Description
An instance of the UserInput class can be used to inform a view generator about user input. It can be obtained through the ServerVisualization.TextViewGenerator.UserInput, ServerVisualization.RulerBarViewGenerator.UserInput, ServerVisualization.StatusBarViewGenerator.UserInput and ServerVisualization.DialogViewGenerator.UserInput properties.
Syntax
public class UserInput : MarshalByRefObjectPublic Class UserInput
Inherits MarshalByRefObjectExamples
The following example includes a User Input object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine(userInput);
Console.WriteLine("User Input is ready for use.");Console.WriteLine(userInput)
Console.WriteLine("User Input is ready for use.")Members
Methods
| Method | Description |
|---|---|
| SendKeyDown | Informs the view generator about a key down event. |
| SendKeyPress | Informs the view generator about a key press event. |
| SendKeyUp | Informs the view generator about a key up event. |
| SendMouseDoubleClick | Informs the view generator about a mouse double click event. |
| SendMouseDown | Informs the view generator about a mouse down event. |
| SendMouseMove | Informs the view generator about a mouse move event. |
| SendMouseUp | Informs the view generator about a mouse up event. |
| SendMouseWheel | Informs the view generator about a mouse wheel event. |
Enumerations
| Enumeration | Description |
|---|---|
| ModifierKeys | Determines a pressed modifier key. It contains the following values: |
| MouseButtons | Determines a pressed mouse button. It contains the following values: |