Class RadioButton

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
8

RadioButton is the Class that describe the control which can be checked, but not cleared by a user.

C#
Copy
public class RadioButton : SelectButton, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Implements

Constructors

View Source

RadioButton()

Creates a new instance of a RadioButton.

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

RadioButton(String)

Creates a new instance of a RadioButton with style.

Declaration
C#
Copy
public RadioButton(string style)
Parameters
Type Name Description
String style
API Level: 8
View Source

RadioButton(ButtonStyle)

Creates a new instance of a RadioButton with style.

Declaration
C#
Copy
public RadioButton(ButtonStyle buttonStyle)
Parameters
Type Name Description
ButtonStyle buttonStyle
API Level: 8

Properties

View Source

ItemGroup

Get RadioButtonGroup to which this selections belong.

Declaration
C#
Copy
public RadioButtonGroup ItemGroup { get; }
Property Value
Type Description
RadioButtonGroup
API Level: 6

Methods

View Source

HandleControlStateOnTouch(Touch)

The touch event handler for ControlState. Please change ControlState value by touch state if needed.

Declaration
C#
Copy
protected override bool HandleControlStateOnTouch(Touch touch)
Parameters
Type Name Description
Touch touch
Returns
Type Description
Boolean
Overrides
View Source

OnControlStateChanged(View.ControlStateChangedEventArgs)

Called after the View's ControlStates changed.

Declaration
C#
Copy
protected override void OnControlStateChanged(View.ControlStateChangedEventArgs info)
Parameters
Type Name Description
View.ControlStateChangedEventArgs info
Overrides
View Source

OnInitialize()

Initialize AT-SPI object.

Declaration
C#
Copy
public override void OnInitialize()
Overrides
View Source

OnKey(Key)

Called after a key event is received by the view that has had its focus set.

Declaration
C#
Copy
public override bool OnKey(Key key)
Parameters
Type Name Description
Key key

The key event.

Returns
Type Description
Boolean

True if the key event should be consumed.

Overrides

Implements

Extension Methods