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#
Copy
public class RadioButton : Button, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
Inheritance
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
RadioButton
Implements
System.IDisposable

Constructors

View Source

RadioButton()

Creates an uninitialized RadioButton.

Declaration
C#
Copy
public RadioButton()
API Level: 3
View Source

RadioButton(String)

Creates an uninitialized RadioButton with the label.

Declaration
C#
Copy
public RadioButton(string label)
Parameters
Type Name Description
System.String label

The label text.

API Level: 3

Methods

View Source

Dispose(DisposeTypes)

To dispose the RadioButton instance.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
API Level: 3

Implements

System.IDisposable