| IUIRendererGetCursor Method |
Gets a mouse cursor.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax Object GetCursor(
string name
)
Function GetCursor (
name As String
) As Object
Object^ GetCursor(
String^ name
)
abstract GetCursor :
name : string -> Object
Parameters
- name
- Type: SystemString
The name of the mouse cursor. This name is any string - usually the asset name - that
identifies the cursor, e.g. "Wait". Can be to get the default
cursor.
Return Value
Type:
ObjectThe 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.)
See Also