API ReferenceSandbox.UI
PanelEventAttributeclass
Add an event listener to a `Sandbox.UI.Panel` event with the given name. See `Sandbox.UI.Panel.CreateEvent(System.String,System.Object,System.Nullable)`.
Constructors1
Showing 1 constructors
public PanelEventAttribute(string name = null)
| Parameter | Type | Description |
|---|---|---|
| name = null | string | — |
No results match this filter.
Properties1
Showing 1 properties
public string Sandbox.UI.PanelEventAttribute.Name { get; set; }
Name of the event to listen to.
Returns:
string—No results match this filter.