CursorKind Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Determines the kind of the cursor at a certain location in a document. The enumeration contains the following values:
Syntax
public enum CursorKindPublic Enum CursorKindMembers
| Member | Value | Description |
|---|---|---|
| IBeam | 1 | The cursor is an I-beam. |
| ArrowNE | 2 | The cursor is an arrow cursor pointing to northeast. |
| VSplit | 3 | The cursor is a vertical splitting cursor. |
| UpArrow | 4 | The cursor is an up arrow cursor. |
| Arrow | 5 | The cursor is a standard arrow cursor pointing to northwest. |
| DownArrow | 6 | The cursor is a down arrow cursor. |
| SizeWE | 7 | The cursor is a two-headed horizontal (west/east) sizing cursor. |
| SizeNS | 8 | The cursor is the two-headed vertical (north/south) sizing cursor. |
| SizeNWSE | 9 | The cursor is the two-headed diagonal (northwest/southeast) sizing cursor. |
| SizeNESW | 10 | The cursor is the two-headed diagonal (northeast/southwest) sizing cursor. |
| SizeAll | 11 | The cursor is the four-headed sizing cursor, which consists of four joined arrows that point north, south, east, and west. |
| Cross | 12 | The cursor is the crosshair cursor. |
| No | 13 | The cursor is the cursor that indicates that a particular region is invalid for the current operation. |
| DragDropCopy | 14 | The cursor is the standard cursor for copying data during a drag and drop operation. |
| DragDropMove | 15 | The cursor is the standard cursor for moving data during a drag and drop operation. |
| ThickCross | 16 | Not described in the reference. |
| Hand | 17 | Not described in the reference. |
Examples
The following example selects the IBeam value from the Cursor Kind enumeration and uses it as a documented workflow choice.
CursorKind value = CursorKind.IBeam;
Console.WriteLine($"Using Cursor Kind: {value}");Dim value As CursorKind = CursorKind.IBeam
Console.WriteLine($"Using Cursor Kind: {value}")