Cursor

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

Gets or sets the pointer that displays when the user moves the mouse over an element.

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

Property Value

Type: MouseCursor

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

Managed Equivalent

Cursor

Remarks

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

Applies To

Border (Silverlight 2)

Canvas

Ellipse

Glyphs

Image

InkPresenter

Line

MediaElement

PasswordBox (Silverlight 2)

Path

Polygon

Polyline

Popup (Silverlight 2)

Rectangle

StackPanel (Silverlight 2)

TextBlock

TextBox (Silverlight 2)