class ButtonEvent

in global :: Sandbox . UI

Keyboard (and mouse) key press .


public string Button { get; }

The button that triggered the event.

public bool Pressed { get; }

Whether the button was pressed in, or release.

public KeyboardModifiers KeyboardModifiers { get; }

The keyboard modifier keys that were held down at the moment the event triggered.

public bool HasShift { get; }

Whether Shift key was being held down at the time of the event.

public bool HasCtrl { get; }

Whether Control key was being held down at the time of the event.

public bool HasAlt { get; }

Whether Alt key was being held down at the time of the event.

public bool StopPropagation { get; set; }

Set to to prevent the event from propagating to the parent panel.

public int VirtualKey { get; }

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public static bool op_Inequality( ButtonEvent left, ButtonEvent right )

😔 No documentation found.

public static bool op_Equality( ButtonEvent left, ButtonEvent right )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public bool Equals( ButtonEvent other )

😔 No documentation found.

public ButtonEvent <Clone>$( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.