Class RadioButton
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
RadioButton is the Class that describe the control which can be checked, but not cleared by a user.
public class RadioButton : SelectButton, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
- Inheritance
-
objectRadioButton
- Implements
-
System.IDisposable
Constructors
View SourceRadioButton()
Creates a new instance of a RadioButton.
Declaration
public RadioButton()
RadioButton(string)
Creates a new instance of a RadioButton with style.
Declaration
public RadioButton(string style)
Parameters
| Type | Name | Description |
|---|---|---|
| string | style |
RadioButton(ButtonStyle)
Creates a new instance of a RadioButton with style.
Declaration
public RadioButton(ButtonStyle buttonStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| ButtonStyle | buttonStyle |
Properties
View SourceItemGroup
Get RadioButtonGroup to which this selections belong.
Declaration
public RadioButtonGroup ItemGroup { get; }
Property Value
| Type | Description |
|---|---|
| RadioButtonGroup |
Methods
View SourceHandleControlStateOnTouch(Touch)
The touch event handler for ControlState. Please change ControlState value by touch state if needed.
Declaration
protected override bool HandleControlStateOnTouch(Touch touch)
Parameters
| Type | Name | Description |
|---|---|---|
| Touch | touch |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
View SourceOnControlStateChanged(ControlStateChangedEventArgs)
Called after the View's ControlStates changed.
Declaration
protected override void OnControlStateChanged(View.ControlStateChangedEventArgs info)
Parameters
| Type | Name | Description |
|---|---|---|
| View.ControlStateChangedEventArgs | info |
Overrides
View SourceOnInitialize()
Initialize AT-SPI object.
Declaration
public override void OnInitialize()
Overrides
View SourceOnKey(Key)
Called after a key event is received by the view that has had its focus set.
Declaration
public override bool OnKey(Key key)
Parameters
| Type | Name | Description |
|---|---|---|
| Key | key | The key event. |
Returns
| Type | Description |
|---|---|
| bool | True if the key event should be consumed. |
Overrides
Implements
System.IDisposable