Class RadioButton
Definition
- Namespace:
- Tizen.NUI.UIComponents
- Assembly:
- Tizen.NUI.dll
A RadioButton provides a radio button with two states, \e selected or \e unselected.
Radio buttons are designed to select one of the many options at the same time.
A RadioButton can change its current state using the selected.
RadioButtons can be grouped.
Two or more RadioButtons are in one group when they have this same parent.
In each groups only one RadioButton can be \e selected at a given time.
So when a RadioButton is set to \e selected, other RadioButtons in its group are set to \e unselected.
When \e selected RadioButton is set to \e unselected, no other RadioButtons in this group are set to \e selected.
The StateChanged event is emitted when the RadioButton change its state to \e selected or \e unselected.
public class RadioButton : Button, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceRadioButton()
Creates an uninitialized RadioButton.
Declaration
public RadioButton()
RadioButton(string)
Creates an uninitialized RadioButton with the label.
Declaration
public RadioButton(string label)
Parameters
Type | Name | Description |
---|---|---|
string | label | The label text. |
Methods
View SourceDispose(DisposeTypes)
To dispose the RadioButton instance.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |