API ReferenceSandbox.UI
public class Sandbox.UI.Checkbox : Sandbox.UI.Panel
Related Guides
Broader workflow and conceptual references connected to this API.
Attributes and Variables
Attributes are the bridge to pass information around the CPU to the GPU, like Variables, Textures or entire Buffers.
Property Attributes
You can add attributes to your Component's properties in C# to change how they look in the editor/inspector.
Triggers
A trigger is a collider that detects when other physics objects enter or exit it, without blocking their movement. They're useful for things like pickup zones, death planes, checkpoints, and area detection.
Constructors
Showing 1 constructors
public Checkbox()
No results match this filter.
Methods
Showing 6 methods
protected virtual void OnClick(Sandbox.UI.MousePanelEvent e)
protected virtual void OnMouseDown(Sandbox.UI.MousePanelEvent e)
public virtual void OnValueChanged()
public virtual void SetContent(string value)
public virtual void SetProperty(string name, string value)
protected virtual void UpdateState()
No results match this filter.
Properties
Showing 6 properties
public bool Sandbox.UI.Checkbox.Checked { get; set; }
public string Sandbox.UI.Checkbox.LabelText { get; set; }
public bool Sandbox.UI.Checkbox.Value { get; set; }
public System.Action`1<bool> Sandbox.UI.Checkbox.ValueChanged { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.UI |
| Type | class |
| Assembly | Base Library |
| Doc ID | T:Sandbox.UI.Checkbox |