| Properties | Events | Examples | Frames | No Frames |
The RadioButtonGroup control defines a group of RadioButton controls which act as a single mutally exclusive control. That is, only one RadioButton control can be selected at a time. The id property is required when you use the <mx:RadioButtonGroup> tag to define the name of the group.
MXML Syntax
The <mx:RadioButtonGroup> tag inherits all the properties of its parent classes, and the following properties:
<mx:RadioButtonGroupClick here to view the Examples
id="Required - No default."
enabled="true|false"
groupName="No default.
labelPlacement="right|left|bottom|top"
selectedData=" If the RadioButton does not define the data property,
Flex sets selectedData to the value of the label property."
click="Event handler; no default."
change="Event handler; no default."
/>
See Also
RadioButton
| Properties | |
| enabled:
BooleanIf true, selection is allowed. |
| groupName:
StringName of the group of RadioButton controls. |
| labelPlacement:
StringOrientation of the label relative to the RadioButton icon for all controls in the group. |
| selectedData:
ObjectValue of the data property of the selected RadioButton control in the group. |
| selection:
mx.controls.RadioButtonContains a copy of the currently selected RadioButton control in the group. |
static | version:
StringVersion string for this class. |
| Events | |
change | Broadcast when the value of the control changes due to user interaction. The target property of the event object contains a reference to the component that triggered the event. The type property contains the name of the event, change. |
click | Broadcast when a user selects a RadioButton control in the group. You can also set a handler for individual RadioButton controls. The target property of the event object contains a reference to the component that triggered the event. The type property contains the name of the event, click. |
| Property Detail |
enabled:
Boolean
true, selection is allowed.
groupName:
String
id property of the <mx:RadioButtonGroup> tag to define the name of the group.
labelPlacement:
String
right, left, bottom, and top. The default value is right.
selectedData:
Object
selectedData to the value of the label property.
selection:
mx.controls.RadioButton
static
version:
String
| Examples |
| RadioButtonGroupExample.mxml |
|
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/15/asdocs_en/mx/controls/RadioButtonGroup.html
Comments
Robin Hilliard said on Mar 27, 2006 at 7:46 PM :