TX Text Control .NET for Windows Forms

CursorKind Enumeration

Enumeration|Introduced in 21.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

Determines the kind of the cursor at a certain location in a document. The enumeration contains the following values:

Syntax

public enum CursorKind

Members

MemberValueDescription
IBeam1The cursor is an I-beam.
ArrowNE2The cursor is an arrow cursor pointing to northeast.
VSplit3The cursor is a vertical splitting cursor.
UpArrow4The cursor is an up arrow cursor.
Arrow5The cursor is a standard arrow cursor pointing to northwest.
DownArrow6The cursor is a down arrow cursor.
SizeWE7The cursor is a two-headed horizontal (west/east) sizing cursor.
SizeNS8The cursor is the two-headed vertical (north/south) sizing cursor.
SizeNWSE9The cursor is the two-headed diagonal (northwest/southeast) sizing cursor.
SizeNESW10The cursor is the two-headed diagonal (northeast/southwest) sizing cursor.
SizeAll11The cursor is the four-headed sizing cursor, which consists of four joined arrows that point north, south, east, and west.
Cross12The cursor is the crosshair cursor.
No13The cursor is the cursor that indicates that a particular region is invalid for the current operation.
DragDropCopy14The cursor is the standard cursor for copying data during a drag and drop operation.
DragDropMove15The cursor is the standard cursor for moving data during a drag and drop operation.
ThickCross16Not described in the reference.
Hand17Not 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}");

See Also

ServerVisualization.View.GetCursorKind Method.