s&box docs
API ReferenceSandbox.UI

public class Sandbox.UI.ButtonEvent

Keyboard (and mouse) key press `Sandbox.UI.PanelEvent`.

Constructors

Showing 1 constructors

Methods

Showing 2 methods

protected virtual bool PrintMembers(System.Text.StringBuilder builder)

Properties

Showing 9 properties

public bool Sandbox.UI.ButtonEvent.HasAlt { get; set; }

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

public bool Sandbox.UI.ButtonEvent.HasCtrl { get; set; }

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

public bool Sandbox.UI.ButtonEvent.HasShift { get; set; }

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

public bool Sandbox.UI.ButtonEvent.Pressed { get; set; }

Whether the button was pressed in, or release.

public bool Sandbox.UI.ButtonEvent.StopPropagation { get; set; }

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

Metadata

FieldValue
NamespaceSandbox.UI
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.UI.ButtonEvent

On this page