Class RadioButton

    Definition

    Namespace:
    Tizen.NUI.UIComponents
    Assembly:
    Tizen.NUI.dll

    A RadioButton provides a radio button with two states, \e selected or \e unselected.
    Radio buttons are designed to select one of the many options at the same time.
    A RadioButton can change its current state using the selected.

    RadioButtons can be grouped.
    Two or more RadioButtons are in one group when they have this same parent.
    In each groups only one RadioButton can be \e selected at a given time.
    So when a RadioButton is set to \e selected, other RadioButtons in its group are set to \e unselected.
    When \e selected RadioButton is set to \e unselected, no other RadioButtons in this group are set to \e selected.

    The StateChanged event is emitted when the RadioButton change its state to \e selected or \e unselected.

    public class RadioButton : Button, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    Tizen.NUI.Binding.BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    Button
    RadioButton
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    RadioButton()

    Creates an uninitialized RadioButton.

    Declaration
    public RadioButton()
    View Source

    RadioButton(string)

    Creates an uninitialized RadioButton with the label.

    Declaration
    public RadioButton(string label)
    Parameters
    Type Name Description
    string label

    The label text.

    Methods

    View Source

    Dispose(DisposeTypes)

    To dispose the RadioButton instance.

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    Button.Dispose(DisposeTypes)

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX