API ReferenceSandbox.UI

ButtonGroupclass

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

objectPanelButtonGroup
Namespace
Sandbox.UI
Assembly
Base Library
Declaration
public class Sandbox.UI.ButtonGroup : Sandbox.UI.Panel

Constructors2

Showing 2 constructors

Methods10

Showing 10 methods

Properties10

Showing 10 properties

On this page

Constructorspublic ButtonGroup()public ButtonGroup()Methodspublic Sandbox.UI.Button AddButton(System.String value, System.Action action)public Sandbox.UI.Button AddButton(System.String value, System.Action action)public Sandbox.UI.Button AddButtonActive(System.String value, System.Action`1<System.Boolean> action)public Sandbox.UI.Button AddButtonActive(System.String value, System.Action`1<System.Boolean> action)protected virtual System.Void OnChildAdded(Sandbox.UI.Panel child)protected virtual System.Void OnChildAdded(Sandbox.UI.Panel child)protected virtual System.Void OnParametersSet()protected virtual System.Void OnParametersSet()public virtual System.Void Tick()public virtual System.Void Tick()Propertiespublic System.String Sandbox.UI.ButtonGroup.ButtonClass { get; set; }public System.String Sandbox.UI.ButtonGroup.ButtonClass { get; set; }public System.Collections.Generic.List`1<Sandbox.UI.Option> Sandbox.UI.ButtonGroup.Options { get; set; }public System.Collections.Generic.List`1<Sandbox.UI.Option> Sandbox.UI.ButtonGroup.Options { get; set; }public Sandbox.UI.Panel Sandbox.UI.ButtonGroup.SelectedButton { get; set; }public Sandbox.UI.Panel Sandbox.UI.ButtonGroup.SelectedButton { get; set; }public System.Object Sandbox.UI.ButtonGroup.Value { get; set; }public System.Object Sandbox.UI.ButtonGroup.Value { get; set; }public System.Action`1<System.Object> Sandbox.UI.ButtonGroup.ValueChanged { get; set; }public System.Action`1<System.Object> Sandbox.UI.ButtonGroup.ValueChanged { get; set; }Metadata