API ReferenceSandbox.UI

MousePanelEventclass

Mouse related `Sandbox.UI.PanelEvent`.

objectPanelEventMousePanelEvent
Namespace
Sandbox.UI
Assembly
Sandbox.Engine
Declaration
public class Sandbox.UI.MousePanelEvent : Sandbox.UI.PanelEvent

Constructors1

Showing 1 constructors

public MousePanelEvent(string event_name, Sandbox.UI.Panel active, string button)PUBLICCONSTRUCTOR

ParameterTypeDescription
event_namestring
activePanel
buttonstring

Properties5

Showing 5 properties

public bool Sandbox.UI.MousePanelEvent.HasAlt { get; set; }PUBLICGETSET

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

Returns:bool

public bool Sandbox.UI.MousePanelEvent.HasCtrl { get; set; }PUBLICGETSET

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

Returns:bool

public bool Sandbox.UI.MousePanelEvent.HasShift { get; set; }PUBLICGETSET

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

Returns:bool

On this page