Class RawPointerEventArgs
A raw mouse event.
[PrivateApi]
public class RawPointerEventArgs : RawInputEventArgs
- Inheritance
-
RawPointerEventArgs
- Derived
- Inherited Members
Constructors
RawPointerEventArgs(IInputDevice, ulong, IInputRoot, RawPointerEventType, RawPointerPoint, RawInputModifiers)
Initializes a new instance of the RawPointerEventArgs class.
public RawPointerEventArgs(IInputDevice device, ulong timestamp, IInputRoot root, RawPointerEventType type, RawPointerPoint point, RawInputModifiers inputModifiers)
Parameters
device
IInputDeviceThe associated device.
timestamp
ulongThe event timestamp.
root
IInputRootThe root from which the event originates.
type
RawPointerEventTypeThe type of the event.
point
RawPointerPointThe point properties and position, in client DIPs.
inputModifiers
RawInputModifiersThe input modifiers.
RawPointerEventArgs(IInputDevice, ulong, IInputRoot, RawPointerEventType, Point, RawInputModifiers)
Initializes a new instance of the RawPointerEventArgs class.
public RawPointerEventArgs(IInputDevice device, ulong timestamp, IInputRoot root, RawPointerEventType type, Point position, RawInputModifiers inputModifiers)
Parameters
device
IInputDeviceThe associated device.
timestamp
ulongThe event timestamp.
root
IInputRootThe root from which the event originates.
type
RawPointerEventTypeThe type of the event.
position
PointThe mouse position, in client DIPs.
inputModifiers
RawInputModifiersThe input modifiers.
Properties
InputModifiers
Gets the input modifiers.
public RawInputModifiers InputModifiers { get; set; }
Property Value
IntermediatePoints
Points that were traversed by a pointer since the previous relevant event, only valid for Move and TouchUpdate
public Lazy<IReadOnlyList<RawPointerPoint>?>? IntermediatePoints { get; set; }
Property Value
Point
Gets the pointer properties and position, in client DIPs.
public RawPointerPoint Point { get; set; }
Property Value
Position
Gets the mouse position, in client DIPs.
public Point Position { get; set; }
Property Value
RawPointerId
Gets the raw pointer identifier.
public long RawPointerId { get; set; }
Property Value
Type
Gets the type of the event.
public RawPointerEventType Type { get; set; }