Table of Contents

Class MouseClickEventArgs

Namespace
Gloam.Core.Ui.EventArgs
Assembly
Gloam.Core.Ui.dll

Event arguments for mouse click events

public sealed class MouseClickEventArgs : EventArgs
Inheritance
MouseClickEventArgs
Inherited Members

Constructors

MouseClickEventArgs(Position, MouseButtonType, bool, bool, bool)

Initializes a new instance of MouseClickEventArgs

public MouseClickEventArgs(Position position, MouseButtonType button, bool shift, bool alt, bool ctrl)

Parameters

position Position

The position where the click occurred

button MouseButtonType

The mouse button that was clicked

shift bool

Whether Shift was held

alt bool

Whether Alt was held

ctrl bool

Whether Ctrl was held

Properties

Alt

Whether Alt was held during the click

public bool Alt { get; }

Property Value

bool

Button

The mouse button that was clicked

public MouseButtonType Button { get; }

Property Value

MouseButtonType

Ctrl

Whether Ctrl was held during the click

public bool Ctrl { get; }

Property Value

bool

Position

The position where the click occurred

public Position Position { get; }

Property Value

Position

Shift

Whether Shift was held during the click

public bool Shift { get; }

Property Value

bool