Class RadioButtonGroup

    Definition

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

    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.

    public class RadioButtonGroup : SelectGroup
    Inheritance
    object
    SelectGroup
    RadioButtonGroup

    Constructors

    View Source

    RadioButtonGroup()

    Construct RadioButtonGroup

    Declaration
    public RadioButtonGroup()

    Fields

    View Source

    IsGroupHolderProperty

    IsGroupHolderProperty

    Declaration
    public static readonly BindableProperty IsGroupHolderProperty
    Field Value
    Type Description
    BindableProperty

    Methods

    View Source

    Add(RadioButton)

    Add RadioButton to the end of RadioButtonGroup.

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

    The RadioButton to be added to the RadioButtonGroup

    View Source

    GetIsGroupHolder(View)

    Gets a RadioButtonGroup.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 RadioButton object at the specified index.

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

    item index

    Returns
    Type Description
    RadioButton

    RadioButton

    View Source

    GetRadioButtonGroup(View)

    Gets a attached RadioButtonGroup for a view.

    Declaration
    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
    public RadioButton GetSelectedItem()
    Returns
    Type Description
    RadioButton

    Currently selected radio button

    View Source

    Remove(RadioButton)

    Remove RadioButton from the RadioButtonGroup.

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

    The RadioButton to remove from the RadioButtonGroup

    View Source

    SetIsGroupHolder(View, bool)

    Sets a RadioButtonGroup.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.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    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