Class RadioButtonGroup

Definition

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

The RadioButtonGroup class is used to group together a set of RadioButton control It enables the user to select exclusively single radio button of group.

C#
Copy
public class RadioButtonGroup : SelectGroup
Inheritance
RadioButtonGroup

Constructors

View Source

RadioButtonGroup()

Construct RadioButtonGroup

Declaration
C#
Copy
public RadioButtonGroup()
API Level: 6

Fields

View Source

IsGroupHolderProperty

IsGroupHolderProperty

Declaration
C#
Copy
public static readonly BindableProperty IsGroupHolderProperty
Field Value
Type Description
BindableProperty

Methods

View Source

Add(RadioButton)

Add RadioButton to the end of RadioButtonGroup.

Declaration
C#
Copy
public void Add(RadioButton radio)
Parameters
Type Name Description
RadioButton radio

The RadioButton to be added to the RadioButtonGroup

API Level: 6
View Source

GetIsGroupHolder(View)

Gets a RadioButtonGroup.IsGroupHolder property of a view.

Declaration
C#
Copy
public static bool GetIsGroupHolder(View view)
Parameters
Type Name Description
View view

The group holder.

Returns
Type Description
Boolean
View Source

GetItem(Int32)

Get the RadioButton object at the specified index.

Declaration
C#
Copy
public RadioButton GetItem(int index)
Parameters
Type Name Description
Int32 index

item index

Returns
Type Description
RadioButton

RadioButton

API Level: 6
View Source

GetRadioButtonGroup(View)

Gets a attached RadioButtonGroup for a view.

Declaration
C#
Copy
public static RadioButtonGroup GetRadioButtonGroup(View view)
Parameters
Type Name Description
View view

The group holder.

Returns
Type Description
RadioButtonGroup
View Source

GetSelectedItem()

Get the RadioButton object at the currently selected. If no item selected, returns null.

Declaration
C#
Copy
public RadioButton GetSelectedItem()
Returns
Type Description
RadioButton

Currently selected radio button

View Source

Remove(RadioButton)

Remove RadioButton from the RadioButtonGroup.

Declaration
C#
Copy
public void Remove(RadioButton radio)
Parameters
Type Name Description
RadioButton radio

The RadioButton to remove from the RadioButtonGroup

API Level: 6
View Source

SetIsGroupHolder(View, Boolean)

Sets a RadioButtonGroup.IsGroupHolder property for a view.

Declaration
C#
Copy
public static void SetIsGroupHolder(View view, bool value)
Parameters
Type Name Description
View view

The group holder.

Boolean value

The value to set.

Extension Methods