VisioForge (c) 2025

Search Results for

    Class MouseEventArgsEx

    Mouse event args class.

    Inheritance
    object
    EventArgs
    MouseEventArgsEx
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.Events
    Assembly: VisioForge.Core.dll
    Syntax
    public class MouseEventArgsEx : EventArgs

    Constructors

    MouseEventArgsEx(MouseButton, int, int, bool, bool, bool)

    Initializes a new instance of the MouseEventArgsEx class.

    Declaration
    public MouseEventArgsEx(MouseButton button, int x, int y, bool alt, bool ctrl, bool shift)
    Parameters
    Type Name Description
    MouseButton button

    Mouse button.

    int x

    X coordinate.

    int y

    Y coordinate.

    bool alt

    Alt state.

    bool ctrl

    Ctrl state.

    bool shift

    Shift state.

    Properties

    Alt

    Gets a value indicating whether Alt button pressed.

    Declaration
    public bool Alt { get; }
    Property Value
    Type Description
    bool

    Button

    Gets mouse button.

    Declaration
    public MouseButton Button { get; }
    Property Value
    Type Description
    MouseButton

    Ctrl

    Gets a value indicating whether Ctrl button pressed.

    Declaration
    public bool Ctrl { get; }
    Property Value
    Type Description
    bool

    Shift

    Gets a value indicating whether Shift button pressed.

    Declaration
    public bool Shift { get; }
    Property Value
    Type Description
    bool

    X

    Gets X coordinate.

    Declaration
    public int X { get; }
    Property Value
    Type Description
    int

    Y

    Gets Y coordinate.

    Declaration
    public int Y { get; }
    Property Value
    Type Description
    int