Api Sandbox UI Checkbox
class

Checkbox

public class Checkbox : Panel

A simple checkbox Panel.

Constructors

Checkbox()

Properties

Name Type Description
ValueChanged Action<Boolean> Called when the checked state has been changed.
CheckMark Panel The checkmark icon. Although no guarantees it's an icon!
Checked Boolean Returns true if this checkbox is checked.
Value Boolean Returns true if this checkbox is checked.
Label Label The Label that displays LabelText.
LabelText String Text for the checkbox label.

Methods

virtual Void SetProperty(String name, String value)
virtual Void SetContent(String value)
virtual Void OnValueChanged()

Called when Value changes.

Assembly: Base Library Namespace: Sandbox.UI Full Name: Sandbox.UI.Checkbox