Freigeben über


MouseCursor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies the image that is used to represent the mouse pointer.

<object property="EnumerationValue"  .../>
value = "EnumerationValue"

Enumeration Values

Value

Description

Default

An element expresses no pointer preference. If the element's parent specifies a pointer, that pointer is displayed.

Arrow

An arrow pointer. This is typically the default pointer.

The Arrow pointer

arrow cursor

Hand

A hand pointer. This shape typically indicates that the pointer is over a link.

The Hand pointer

hand cursor

Wait

A wait (or hourglass) pointer. This pointer typically indicates that the runtime is busy performing an operation.

The Wait pointer

wait cursor

IBeam

An I-beam pointer. This pointer typically indicates that text can be manipulated or selected.

The I-beam pointer

i-beam cursor

Stylus

A stylus pointer. This pointer typically indicates that pen input is being captured.

The Stylus pointer

stylus cursor

Eraser

An eraser pointer. This pointer typically indicates that previous pen input is being deliberately erased.

The eraser pointer

eraser cursor

None

No pointer is used.

No pointer

no cursor

Managed Equivalent

Cursor (not a direct equivalent because Cursor is a class not an enumeration, but Cursor embodies the functionality of Cursor in the JavaScript API).

Remarks

There is no restriction on which pointer your application can use, but the Stylus and Eraser pointers are generally used only for ink operations.

Applies To

Cursor