Cursors Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines a set of default cursors.

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

System.Object
  System.Windows.Input.Cursors

public static class Cursors

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAppStarting

Gets the Cursor that appears when an application is starting.

System_CAPS_pubpropertySystem_CAPS_staticArrow

Gets the Arrow Cursor.

System_CAPS_pubpropertySystem_CAPS_staticArrowCD

Gets the arrow with a compact disk Cursor.

System_CAPS_pubpropertySystem_CAPS_staticCross

Gets the crosshair Cursor.

System_CAPS_pubpropertySystem_CAPS_staticHand

Gets a hand Cursor.

System_CAPS_pubpropertySystem_CAPS_staticHelp

Gets a help Cursor which is a combination of an arrow and a question mark.

System_CAPS_pubpropertySystem_CAPS_staticIBeam

Gets an I-beam Cursor, which is used to show where the text cursor appears when the mouse is clicked.

System_CAPS_pubpropertySystem_CAPS_staticNo

Gets a Cursor with which indicates that a particular region is invalid for a given operation.

System_CAPS_pubpropertySystem_CAPS_staticNone

Gets a special cursor that is invisible.

System_CAPS_pubpropertySystem_CAPS_staticPen

Gets a pen Cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollAll

Gets the scroll all Cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollE

Gets the scroll east Cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollN

Gets the scroll north Cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollNE

Gets the scroll northeast cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollNS

Gets the scroll north/south cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollNW

Gets a scroll northwest cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollS

Gets the scroll south Cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollSE

Gets a south/east scrolling Cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollSW

Gets the scroll southwest Cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollW

Gets the scroll west Cursor.

System_CAPS_pubpropertySystem_CAPS_staticScrollWE

Gets a west/east scrolling Cursor.

System_CAPS_pubpropertySystem_CAPS_staticSizeAll

Gets a four-headed sizing Cursor, which consists of four joined arrows that point north, south, east, and west.

System_CAPS_pubpropertySystem_CAPS_staticSizeNESW

Gets a two-headed northeast/southwest sizing Cursor.

System_CAPS_pubpropertySystem_CAPS_staticSizeNS

Gets a two-headed north/south sizing Cursor.

System_CAPS_pubpropertySystem_CAPS_staticSizeNWSE

Gets a two-headed northwest/southeast sizing Cursor.

System_CAPS_pubpropertySystem_CAPS_staticSizeWE

Gets a two-headed west/east sizing Cursor.

System_CAPS_pubpropertySystem_CAPS_staticUpArrow

Gets an up arrow Cursor, which is typically used to identify an insertion point.

System_CAPS_pubpropertySystem_CAPS_staticWait

Specifies a wait (or hourglass) Cursor.

This static class defines a set of default cursors common to applications.

The various static properties defining cursors are not directly usable in XAML, but are indirectly used through two possible mechanisms:

  • The Cursor class performs type conversion on any XAML attribute that takes type Cursor, such that a value of the CursorType enumeration specified as the attribute value will evaluate to one of the static Cursors properties.

  • A static property value can be used through the x:Static Markup Extension.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: