UIRadioButtonGroup Class
Definition
Namespace: Brine2D.UI
Manages a group of radio buttons to ensure only one is selected at a time.
Inheritance System.Object → UIRadioButtonGroup
| Properties | |
|---|---|
| SelectedButton | Currently selected button in the group \(null if none selected\). |
| SelectedIndex | Index of the selected button \(\-1 if none selected\). |
| Methods | |
|---|---|
| GetButtons() | Gets all buttons in this group. |
| SelectButton\(UIRadioButton\) | Selects a button \(deselecting all others\) and fires OnSelectionChanged. |
| Events | |
|---|---|
| OnSelectionChanged | Event fired when selection changes. The newly selected button already has IsChecked set to true when this fires. |