Class CheckBoxGroup

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

C#
Copy
public class CheckBoxGroup : SelectGroup
Inheritance
CheckBoxGroup

Constructors

View Source

CheckBoxGroup()

Construct CheckBoxGroup

Declaration
C#
Copy
public CheckBoxGroup()
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(CheckBox)

Add CheckBox to the end of CheckBoxGroup.

Declaration
C#
Copy
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
C#
Copy
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
C#
Copy
public static CheckBoxGroup GetCheckBoxGroup(View view)
Parameters
Type Name Description
View view

The group holder.

Returns
Type Description
CheckBoxGroup
View Source

GetCheckedIndices()

Get the index array of checked items.

Declaration
C#
Copy
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
C#
Copy
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
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 CheckBox object at the specified index.

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

The item index

Returns
Type Description
CheckBox

CheckBox

API Level: 6
View Source

IsCheckedAll()

Determines whether every checkboxes in the CheckBoxGroup are checked

Declaration
C#
Copy
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
C#
Copy
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
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