| UIManagerCursor Property |
Gets or sets the mouse cursor, overriding the default mouse cursor.
Namespace: DigitalRune.Game.UIAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public Object Cursor { get; set; }
Public Property Cursor As Object
Get
Set
public:
virtual property Object^ Cursor {
Object^ get () sealed;
void set (Object^ value) sealed;
}
abstract Cursor : Object with get, set
override Cursor : Object with get, set
Property Value
Type:
Object
The mouse cursor, overriding the current mouse cursor. Set to
to
use the default mouse cursor.
Implements
IUIServiceCursorRemarks
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