# Editor.Checkbox

A generic checkbox widget.

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Inherits: [Editor.Widget](/api/Editor.Widget)

## Constructors

- [`Checkbox`](/api/Editor.Checkbox/.ctor)

## Fields

- [`Clicked`](/api/Editor.Checkbox/Clicked)
- [`Pressed`](/api/Editor.Checkbox/Pressed)
- [`Released`](/api/Editor.Checkbox/Released)
- [`StateChanged`](/api/Editor.Checkbox/StateChanged)
- [`Toggled`](/api/Editor.Checkbox/Toggled)

## Properties

- [`Icon`](/api/Editor.Checkbox/Icon): Name of a material icon to be drawn in front of the checkbox label.
- [`State`](/api/Editor.Checkbox/State): Current state of this checkbox.
- [`Text`](/api/Editor.Checkbox/Text): The checkbox label.
- [`TriState`](/api/Editor.Checkbox/TriState): Enable the third state, the half checked half not checked state. Disabled by default
- [`Value`](/api/Editor.Checkbox/Value): Whether the checkbox is checked or not.
