Table of Contents

Class Mouse

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

Represents the mouse device.

public static class Mouse
Inheritance
Mouse

Fields

MouseWheelDeltaForOneLine

The number of units the mouse wheel should be rotated to scroll one line.

Properties

Handler

Gets or sets IMouseHandler used to access mouse.

LeftButton

The state of the left button.

MiddleButton

The state of the middle button.

RightButton

The state of the right button.

XButton1

The state of the first extended button.

XButton2

The state of the second extended button.

Methods

GetButtonState(MouseButton)

Gets mouse button state.

GetPosition(Control?)

Calculates the position of the mouse relative to a particular element.

GetPosition(double)

Gets mouse button position.