RVTDocs.com

RadioButtonGroup.AddItem

Method
Description:
Adds a new ToggleButton to the RadioButtonGroup.
Syntax
public ToggleButton AddItem(
	ToggleButtonData buttonData
)
Parameters
Parameter Type Description
buttonData ToggleButtonData An object containing the data needed to construct the ToggleButton.
Return Value
Type Description
ToggleButton The newly added ToggleButton.
Exceptions
Exception Condition
ArgumentNullException Thrown when buttonData is.
ArgumentException Thrown when button with buttonData.Name already exists in the group.