API ReferenceSandbox.UI

Checkboxclass

A simple checkbox `Sandbox.UI.Panel`.

objectPanelCheckbox
Namespace
Sandbox.UI
Assembly
Base Library
Declaration
public class Sandbox.UI.Checkbox : Sandbox.UI.Panel

Constructors2

Showing 2 constructors

Methods12

Showing 12 methods

Properties12

Showing 12 properties

On this page

Constructorspublic Checkbox()public Checkbox()Methodsprotected virtual System.Void OnClick(Sandbox.UI.MousePanelEvent e)protected virtual System.Void OnClick(Sandbox.UI.MousePanelEvent e)protected virtual System.Void OnMouseDown(Sandbox.UI.MousePanelEvent e)protected virtual System.Void OnMouseDown(Sandbox.UI.MousePanelEvent e)public virtual System.Void OnValueChanged()public virtual System.Void OnValueChanged()public virtual System.Void SetContent(System.String value)public virtual System.Void SetContent(System.String value)public virtual System.Void SetProperty(System.String name, System.String value)public virtual System.Void SetProperty(System.String name, System.String value)protected virtual System.Void UpdateState()protected virtual System.Void UpdateState()Propertiespublic System.Boolean Sandbox.UI.Checkbox.Checked { get; set; }public System.Boolean Sandbox.UI.Checkbox.Checked { get; set; }public Sandbox.UI.Panel Sandbox.UI.Checkbox.CheckMark { get; set; }public Sandbox.UI.Panel Sandbox.UI.Checkbox.CheckMark { get; set; }public Sandbox.UI.Label Sandbox.UI.Checkbox.Label { get; set; }public Sandbox.UI.Label Sandbox.UI.Checkbox.Label { get; set; }public System.String Sandbox.UI.Checkbox.LabelText { get; set; }public System.String Sandbox.UI.Checkbox.LabelText { get; set; }public System.Boolean Sandbox.UI.Checkbox.Value { get; set; }public System.Boolean Sandbox.UI.Checkbox.Value { get; set; }public System.Action`1<System.Boolean> Sandbox.UI.Checkbox.ValueChanged { get; set; }public System.Action`1<System.Boolean> Sandbox.UI.Checkbox.ValueChanged { get; set; }Metadata