Editare

Partajați prin


Cursors Class

Definition

Defines a set of default cursors.

public ref class Cursors abstract sealed
public static class Cursors
type Cursors = class
Public Class Cursors
Inheritance
Cursors

Remarks

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.

Properties

AppStarting

Gets the Cursor that appears when an application is starting.

Arrow

Gets the Arrow Cursor.

ArrowCD

Gets the arrow with a compact disk Cursor.

Cross

Gets the crosshair Cursor.

Hand

Gets a hand Cursor.

Help

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

IBeam

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

No

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

None

Gets a special cursor that is invisible.

Pen

Gets a pen Cursor.

ScrollAll

Gets the scroll all Cursor.

ScrollE

Gets the scroll east Cursor.

ScrollN

Gets the scroll north Cursor.

ScrollNE

Gets the scroll northeast cursor.

ScrollNS

Gets the scroll north/south cursor.

ScrollNW

Gets a scroll northwest cursor.

ScrollS

Gets the scroll south Cursor.

ScrollSE

Gets a south/east scrolling Cursor.

ScrollSW

Gets the scroll southwest Cursor.

ScrollW

Gets the scroll west Cursor.

ScrollWE

Gets a west/east scrolling Cursor.

SizeAll

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

SizeNESW

Gets a two-headed northeast/southwest sizing Cursor.

SizeNS

Gets a two-headed north/south sizing Cursor.

SizeNWSE

Gets a two-headed northwest/southeast sizing Cursor.

SizeWE

Gets a two-headed west/east sizing Cursor.

UpArrow

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

Wait

Specifies a wait (or hourglass) Cursor.

Applies to

See also