Class FormsMouseDispatcher
Inherited Members
Namespace: Evergine.Forms
Assembly: Evergine.Forms.dll
Syntax
public class FormsMouseDispatcher : MouseDispatcher
Constructors
FormsMouseDispatcher(Control)
Initializes a new instance of the FormsMouseDispatcher class.
Declaration
public FormsMouseDispatcher(Control control)
Parameters
Type | Name | Description |
---|---|---|
Control | control | The Control associated with this dispatcher. |
Properties
CursorType
Gets the active cursor type. It can be changed calling the method TrySetCursorType(CursorTypes).
Declaration
public override CursorTypes CursorType { get; }
Property Value
Type | Description |
---|---|
CursorTypes |
Overrides
Methods
NativeSetCursorPosition(Point)
Sets natively the cursor position.
Declaration
protected override bool NativeSetCursorPosition(Point position)
Parameters
Type | Name | Description |
---|---|---|
Point | position | The new position. |
Returns
Type | Description |
---|---|
bool | True if the operation was successful. False otherwise. |
Overrides
TrySetCursorType(CursorTypes)
Tries to change the mouse cursor type.
Declaration
public override bool TrySetCursorType(CursorTypes cursorType)
Parameters
Type | Name | Description |
---|---|---|
CursorTypes | cursorType | The new cursor type. |
Returns
Type | Description |
---|---|
bool |
|