# Sandbox.UI.SwitchControl

A boolean control drawn as an on/off switch.

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.UI.BaseControl](/api/Sandbox.UI.BaseControl)

## Constructors

- [`SwitchControl`](/api/Sandbox.UI.SwitchControl/.ctor)

## Properties

- [`Label`](/api/Sandbox.UI.SwitchControl/Label): Optional text shown next to the switch.
- [`OnValueChanged`](/api/Sandbox.UI.SwitchControl/OnValueChanged): Called when the switch is toggled.
- [`SupportsMultiEdit`](/api/Sandbox.UI.SwitchControl/SupportsMultiEdit)
- [`Value`](/api/Sandbox.UI.SwitchControl/Value)

## Methods

- [`Tick`](/api/Sandbox.UI.SwitchControl/Tick)
