# Sandbox.UI.Checkbox

A simple checkbox [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.UI.Panel](/api/Sandbox.UI.Panel)

## Constructors

- [`Checkbox`](/api/Sandbox.UI.Checkbox/.ctor)

## Properties

- [`Checked`](/api/Sandbox.UI.Checkbox/Checked): Returns true if this checkbox is checked.
- [`CheckMark`](/api/Sandbox.UI.Checkbox/CheckMark): The checkmark icon. Although no guarantees it's an icon!
- [`Label`](/api/Sandbox.UI.Checkbox/Label): The [Sandbox.UI.Label](/api/Sandbox.UI.Label) that displays [Sandbox.UI.Checkbox.LabelText](/api/Sandbox.UI.Checkbox/LabelText).
- [`LabelText`](/api/Sandbox.UI.Checkbox/LabelText): Text for the checkbox label.
- [`Value`](/api/Sandbox.UI.Checkbox/Value): Returns true if this checkbox is checked.
- [`ValueChanged`](/api/Sandbox.UI.Checkbox/ValueChanged): Called when the checked state has been changed.

## Methods

- [`OnButtonTyped`](/api/Sandbox.UI.Checkbox/OnButtonTyped)
- [`OnValueChanged`](/api/Sandbox.UI.Checkbox/OnValueChanged): Called when [Sandbox.UI.Checkbox.Value](/api/Sandbox.UI.Checkbox/Value) changes.
- [`SetContent`](/api/Sandbox.UI.Checkbox/SetContent)
- [`SetProperty`](/api/Sandbox.UI.Checkbox/SetProperty)
