Class PointerEventContext
Pointer event context
Inheritance
object
PointerEventContext
Namespace
Syntax
public class PointerEventContext
Properties
Button
Gets the button or the scrolling direction
ButtonPress
Gets the button press state
ClickTier
Specifies whether this is a single-click (1), double-click (2), or more. Only populated in the Released event.
Property Value
int
Declaration
public int ClickTier { get; }
Coordinates
Gets the coordinates in character cells where the mouse cursor was placed starting from zero.
Property Value
(int Width, int Height)
Declaration
public (int x, int y) Coordinates { get; }
Dragging
Whether the pointer is being dragged or not
Property Value
bool
Declaration
public bool Dragging { get; }
Modifiers
Gets the modifiers pressed at the time of the event