RadioButton
Enables the user to select a single option from a group of choices when paired with other RadioButton controls.
Last updated
Was this helpful?
Enables the user to select a single option from a group of choices when paired with other RadioButton controls.
Last updated
Was this helpful?
The RadioButton control can display text, an Image
, or both.
When a user selects one RadioButton within a group, the others clear automatically. All RadioButton controls in a given container, such as a Form
, constitute a group. To create multiple groups on one form, place each group in its own container, such as a GroupBox
or Panel
control.
RadioButton and CheckBox controls serve similar functions: they offer choices users can select or clear. The key difference is that multiple CheckBox controls can be selected simultaneously, while RadioButtons are mutually exclusive.
Use the Checked
property to get or set the state of a RadioButton. The control's appearance can be set to a toggle-style button or standard option button using the Appearance
property.
For a full list of properties, methods and events see the API documentation.
When placed into a container, only one RadioButton control can be selected at a time.
If the AutoCheck
property is set to false, more than one radio button might be selected within the container.
The RadioButton icon and label can be positioned anywhere in relation to each other using the CheckAlign
and TextAlign
properties.
Class name
"wisej.web.RadioButton"
Theme appearance
Child components
Source code
"radiobutton", see .
"icon" is the radiobutton icon, "label" is the text. See .