RadioButtonGroup.AddItems
Method
Description:
Adds new ToggleButtons to the RadioButtonGroup.
Adds new ToggleButtons to the RadioButtonGroup.
Parameters
| Parameter | Type | Description |
|---|---|---|
| buttonData | IList | A list of objects containing the data needed to construct the ToggleButtons. |
Return Value
| Type | Description |
|---|---|
| IList | The newly added ToggleButtons. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when buttonData is. |
| ArgumentException | Thrown when button with buttonData.Name already exists in the group. |