Search Results for

    Show / Hide Table of Contents

    Class PointerEventContext

    Pointer event context

    Inheritance
    object
    PointerEventContext
    Namespace: Terminaux.Inputs.Pointer
    Assembly: Terminaux.dll
    Syntax
    public class PointerEventContext

    Properties

    | Edit this page View Source

    Button

    Gets the button or the scrolling direction

    Declaration
    public PointerButton Button { get; }
    Property Value
    Type Description
    PointerButton
    | Edit this page View Source

    ButtonPress

    Gets the button press state

    Declaration
    public PointerButtonPress ButtonPress { get; }
    Property Value
    Type Description
    PointerButtonPress
    | Edit this page View Source

    ClickTier

    Specifies whether this is a single-click (1), double-click (2), or more. Only populated in the Released event.

    Declaration
    public int ClickTier { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Coordinates

    Gets the coordinates in character cells where the mouse cursor was placed starting from zero.

    Declaration
    public (int x, int y) Coordinates { get; }
    Property Value
    Type Description
    (int Width, int Height)
    | Edit this page View Source

    Dragging

    Whether the pointer is being dragged or not

    Declaration
    public bool Dragging { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Modifiers

    Gets the modifiers pressed at the time of the event

    Declaration
    public PointerModifiers Modifiers { get; }
    Property Value
    Type Description
    PointerModifiers
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX