| IUIServiceCursor 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 Object Cursor { get; set; }
Property Cursor As Object
Get
Set
property Object^ Cursor {
Object^ get ();
void set (Object^ value);
}
abstract 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.
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