Click or drag to resize
DigitalRuneUIRendererGetCursor Method
Gets a mouse cursor.

Namespace: DigitalRune.Game.UI.Rendering
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public Object GetCursor(
	string name
)

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: Object
The mouse cursor.

Implements

IUIRendererGetCursor(String)
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