Skip to main content
Version: 1.0.0-preview.34

Velaptor.UI.MouseMoveEventArgs

Velaptor

Velaptor.UI

MouseMoveEventArgs Struct

Holds information about the mouse position over a control.

public readonly struct MouseMoveEventArgs :
System.IEquatable<Velaptor.UI.MouseMoveEventArgs>

Implements System.IEquatable<MouseMoveEventArgs>

Constructors

MouseMoveEventArgs(Point, Point) Constructor

Initializes a new instance of the MouseMoveEventArgs struct.

public MouseMoveEventArgs(System.Drawing.Point globalPos, System.Drawing.Point localPos);

Parameters

globalPos System.Drawing.Point

The global position of the mouse.

localPos System.Drawing.Point

The local position of the mouse.

Properties

GlobalPos

Gets the position of the mouse relative to the top left corner of the window.

public System.Drawing.Point GlobalPos { get; }

Property Value

System.Drawing.Point

LocalPos

Gets the position of the mouse relative to the top left corner of the control.

public System.Drawing.Point LocalPos { get; }

Property Value

System.Drawing.Point