Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 6
The CheckboxGroup class is used to group together a set of CheckBox control
public class CheckBoxGroup : SelectGroup
- Inheritance
-
Constructors
Declaration
API Level: 6
Fields
Declaration
public static readonly BindableProperty IsGroupHolderProperty
Field Value
Methods
View Source
Add(CheckBox)
Add CheckBox to the end of CheckBoxGroup.
Declaration
public void Add(CheckBox check)
Parameters
Type |
Name |
Description |
CheckBox |
check |
The CheckBox to be added to the CheckBoxGroup
|
API Level: 6
View Source
CheckAll(Boolean)
Check or Uncheck all of child checkboxes by the specified value
Declaration
public void CheckAll(bool state)
Parameters
Type |
Name |
Description |
Boolean |
state |
The boolean state of the check box
|
API Level: 6
View Source
GetCheckBoxGroup(View)
Gets a attached CheckBoxGroup for a view.
Declaration
public static CheckBoxGroup GetCheckBoxGroup(View view)
Parameters
Type |
Name |
Description |
View |
view |
The group holder.
|
Returns
View Source
GetCheckedIndices()
Get the index array of checked items.
Declaration
public int[] GetCheckedIndices()
Returns
Type |
Description |
Int32[] |
The array of index
|
API Level: 6
View Source
GetCheckedItems()
Get the CheckBox array of checked items.
Declaration
public CheckBox[] GetCheckedItems()
Returns
Type |
Description |
CheckBox[] |
The array of CheckBox
|
API Level: 6
View Source
GetIsGroupHolder(View)
Gets a CheckBoxGroup.IsGroupHolder property of a view.
Declaration
public static bool GetIsGroupHolder(View view)
Parameters
Type |
Name |
Description |
View |
view |
The group holder.
|
Returns
View Source
GetItem(Int32)
Get the CheckBox object at the specified index.
Declaration
public CheckBox GetItem(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
The item index
|
Returns
API Level: 6
View Source
IsCheckedAll()
Determines whether every checkboxes in the CheckBoxGroup are checked
Declaration
public bool IsCheckedAll()
Returns
Type |
Description |
Boolean |
If all of CheckBoxes are checked, return true. otherwise false
|
API Level: 6
View Source
Remove(CheckBox)
Remove CheckBox from the CheckBoxGroup.
Declaration
public void Remove(CheckBox check)
Parameters
Type |
Name |
Description |
CheckBox |
check |
The CheckBox to remove from the CheckBoxGroup
|
API Level: 6
View Source
SetIsGroupHolder(View, Boolean)
Sets a CheckBoxGroup.IsGroupHolder property for a view.
Declaration
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