Share via


Cursor Property

Gets or sets the cursor that displays when the mouse pointer is over the element.

XAML
<object Cursor="MouseCursor" .../>
Scripting
value = object.Cursor
object.Cursor = value

Property Value

MouseCursor

The cursor to display, as a value of the MouseCursor enumeration. The default is Default.

Remarks

The Default setting indicates that determination of the practical cursor value is deferred here and should be obtained from its parent element. If not specified by a parent element, the default cursor is typically an arrow.

Applies To

Canvas, Ellipse, Glyphs, Image, InkPresenter, Line, MediaElement, Path, Polygon, Polyline, Rectangle, TextBlock

See Also

Ink Support in Microsoft Silverlight
Silverlight Mouse Support