Class CheckBoxGroup

    Definition

    Namespace:
    Tizen.NUI.Components
    Assembly:
    Tizen.NUI.Components.dll

    The CheckboxGroup class is used to group together a set of CheckBox control

    public class CheckBoxGroup : SelectGroup
    Inheritance
    object
    SelectGroup
    CheckBoxGroup

    Constructors

    View Source

    CheckBoxGroup()

    Construct CheckBoxGroup

    Declaration
    public CheckBoxGroup()

    Fields

    View Source

    IsGroupHolderProperty

    IsGroupHolderProperty

    Declaration
    public static readonly BindableProperty IsGroupHolderProperty
    Field Value
    Type Description
    BindableProperty

    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

    View Source

    CheckAll(bool)

    Check or Uncheck all of child checkboxes by the specified value

    Declaration
    public void CheckAll(bool state)
    Parameters
    Type Name Description
    bool state

    The boolean state of the check box

    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
    Type Description
    CheckBoxGroup
    View Source

    GetCheckedIndices()

    Get the index array of checked items.

    Declaration
    public int[] GetCheckedIndices()
    Returns
    Type Description
    int[]

    The array of index

    View Source

    GetCheckedItems()

    Get the CheckBox array of checked items.

    Declaration
    public CheckBox[] GetCheckedItems()
    Returns
    Type Description
    CheckBox[]

    The array of CheckBox

    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
    Type Description
    bool
    View Source

    GetItem(int)

    Get the CheckBox object at the specified index.

    Declaration
    public CheckBox GetItem(int index)
    Parameters
    Type Name Description
    int index

    The item index

    Returns
    Type Description
    CheckBox

    CheckBox

    View Source

    IsCheckedAll()

    Determines whether every checkboxes in the CheckBoxGroup are checked

    Declaration
    public bool IsCheckedAll()
    Returns
    Type Description
    bool

    If all of CheckBoxes are checked, return true. otherwise false

    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

    View Source

    SetIsGroupHolder(View, bool)

    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.

    bool value

    The value to set.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX