CursorType Enumeration
TOC
Collapse the table of content
Expand the table of content

CursorType Enumeration

Specifies the built in cursor types.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public enum CursorType
<object property="enumerationMemberName" .../>

Member nameDescription
NoneA value indicating that no cursor should be displayed.
NoNo cursor.
ArrowA standard arrow cursor.
AppStartingA standard arrow with small hourglass cursor.
CrossA crosshair cursor.
HelpA help cursor.
IBeamA text I-Beam cursor.
SizeAllA cursor with arrows pointing north, south, east, and west.
SizeNESWA cursor with arrows pointing northeast and southwest.
SizeNSA cursor with arrows pointing north and south.
SizeNWSEA cursor with arrows pointing northwest and southeast.  
SizeWEA cursor with arrows pointing west and east.
UpArrowA vertical arrow cursor.
WaitAn hourglass cursor.
HandA hand cursor.
PenA pen cursor.
ScrollNSA scrolling cursor with arrows pointing north and south.
ScrollWEA scrolling cursor with arrows pointing west and east.
ScrollAllA scrolling cursor with arrows pointing north, south, east, and west.
ScrollNA scrolling cursor with an arrow pointing north.
ScrollSA scrolling cursor with an arrow pointing south.
ScrollWA scrolling cursor with an arrow pointing west.
ScrollEA scrolling cursor with an arrow pointing east.
ScrollNWA scrolling cursor with arrows pointing north and west.
ScrollNEA scrolling cursor with arrows pointing north and east.
ScrollSWA scrolling cursor with arrows pointing south and west.
ScrollSEA scrolling cursor with arrows pointing south and east.
ArrowCDAn arrow cd cursor.

CursorType is mostly used in Extensible Application Markup Language (XAML) to specify the cursor. In code, you should use the Cursors class.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2016 Microsoft