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#Copypublic class RadioButtonGroup : SelectGroup
- Inheritance
Constructors
Declaration
C#Copypublic RadioButtonGroup()
API Level: 6
Fields
Declaration
C#Copypublic static readonly BindableProperty IsGroupHolderProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Methods
Declaration
C#Copypublic void Add(RadioButton radio)
Parameters
Type | Name | Description |
---|---|---|
RadioButton | radio | The RadioButton to be added to the RadioButtonGroup |
API Level: 6
Declaration
C#Copypublic static bool GetIsGroupHolder(View view)
Parameters
Type | Name | Description |
---|---|---|
View | view | The group holder. |
Returns
Type | Description |
---|---|
Boolean |
Declaration
C#Copypublic RadioButton GetItem(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | item index |
Returns
Type | Description |
---|---|
RadioButton | RadioButton |
API Level: 6
Declaration
C#Copypublic 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#Copypublic RadioButton GetSelectedItem()
Returns
Type | Description |
---|---|
RadioButton | Currently selected radio button |
Declaration
C#Copypublic 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#Copypublic static void SetIsGroupHolder(View view, bool value)
Parameters
Type | Name | Description |
---|---|---|
View | view | The group holder. |
Boolean | value | The value to set. |