# Sandbox.UI.ButtonGroup.AddButton

```csharp
Button AddButton(string value, System.Action action)
```

Adds a button to this group.

### Parameters

- `value` (`string`): The button's label.
- `action` (`System.Action`): Called `onclick`.

### Returns

`Button`

Declared in [Sandbox.UI.ButtonGroup](/api/Sandbox.UI.ButtonGroup).
Assembly: `Sandbox.Engine`.
