Class RadioButton
Definition
- Namespace:
- Tizen.NUI.UIComponents
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
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.
C#Copypublic class RadioButton : Button, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
Tizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementRadioButton
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic RadioButton()
API Level: 3
Declaration
C#Copypublic RadioButton(string label)
Parameters
Type | Name | Description |
---|---|---|
System.String | label | The label text. |
API Level: 3
Methods
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
API Level: 3
Implements
System.IDisposable