Table of Contents

Class PlessMouse

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains static methods and properties related to the platformless mouse implementation.

public static class PlessMouse
Inheritance
PlessMouse

Fields

ShowTestMouseInControl

Gets or sets whether to draw test mouse pointer inside the control.

TestMouseColor

Gets or sets color of the test mouse pointer.

TestMouseSize

Gets or sets size of the test mouse pointer.

Properties

LastMousePosition

Gets last mouse position passed to mouse event handlers.

Methods

DrawTestMouseRect(Control, Graphics)

Draws test mouse pointer inside the control.

GetButtonState(MouseButton)

Gets mouse button pressed state which was changed using SetButtonPressed(MouseButton, bool) method.

GetTestMouseRect(Control)

Gets rectangle for the test mouse pointer.

IsButtonPressed(MouseButton)

Gets mouse button pressed state which was changed using SetButtonPressed(MouseButton, bool) method.

SetButtonPressed(MouseButton, bool)

Sets internal mouse button pressed state. Do not call directly.

UpdateMousePosition(PointD?, Control)

Updates LastMousePosition

Events

LastMousePositionChanged

Occurs when LastMousePosition property is changed.