# Sandbox.UI.ButtonGroup

A group of side-by-side buttons one of which can be selected.

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.UI.Panel](/api/Sandbox.UI.Panel)

## Constructors

- [`ButtonGroup`](/api/Sandbox.UI.ButtonGroup/.ctor)

## Properties

- [`ButtonClass`](/api/Sandbox.UI.ButtonGroup/ButtonClass): CSS Class(es) to add to child buttons.
- [`Options`](/api/Sandbox.UI.ButtonGroup/Options): Options to show in this button group.
- [`SelectedButton`](/api/Sandbox.UI.ButtonGroup/SelectedButton): The selected button panel.
- [`Value`](/api/Sandbox.UI.ButtonGroup/Value): The selected option value.
- [`ValueChanged`](/api/Sandbox.UI.ButtonGroup/ValueChanged): Called when the value has been changed.

## Methods

- [`AddButton`](/api/Sandbox.UI.ButtonGroup/AddButton): Adds a button to this group.
- [`AddButtonActive`](/api/Sandbox.UI.ButtonGroup/AddButtonActive)
- [`Tick`](/api/Sandbox.UI.ButtonGroup/Tick)
