Api Sandbox UI ButtonGroup
class

ButtonGroup

public class ButtonGroup : Panel

A group of side-by-side buttons one of which can be selected.

Constructors

ButtonGroup()

Properties

Name Type Description
ValueChanged Action<Object> Called when the value has been changed.
Value Object The selected option value.
Options List<Option> Options to show in this button group.
ButtonClass String CSS Class(es) to add to child buttons.
SelectedButton Panel The selected button panel.

Methods

Button AddButton(String value, Action action)

Adds a button to this group.

value — The button's label.
action — Called onclick.
Button AddButtonActive(String value, Action<Boolean> action)
virtual Void Tick()
Assembly: Base Library Namespace: Sandbox.UI Full Name: Sandbox.UI.ButtonGroup