Click or drag to resize
DigitalRuneUIManagerCursor Property
Gets or sets the mouse cursor, overriding the default mouse cursor.

Namespace: DigitalRune.Game.UI
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public Object Cursor { get; set; }

Property Value

Type: Object
The mouse cursor, overriding the current mouse cursor. Set to to use the default mouse cursor.

Implements

IUIServiceCursor
Remarks

This object must be of type System.Windows.Forms.Cursor. (The type Object is used to avoid referencing System.Windows.Forms.dll in this portable library.)

Normally, the control under the mouse determines the current mouse cursor. If this property is set, the automatically determined cursor is overridden. This is useful, for example, if a Wait cursor should displayed.

See Also