Cursor Property

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

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

Property Value


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


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