Api Sandbox UI PanelEvent
class

PanelEvent

public class PanelEvent

Base Panel event. See PanelEvent).

Constructors

PanelEvent(String eventName, Panel active)

Properties

Name Type Description
Name String
Value Object
Time Single
Button String
This Panel The panel on which the event is being called. For example, if you have a button with a label.. when the button gets clicked the actual click event might come from the label. When the event is called on the label, This will be the label. When the event propagates up to the button This will be the button - but Target will be the label. This is mainly of use with Razor callbacks, where you want to get the actual panel that created the event.
Target Panel

Methods

Boolean Is(String name)
Void StopPropagation()
Assembly: Sandbox.Engine Namespace: Sandbox.UI Full Name: Sandbox.UI.PanelEvent