Show / Hide Table of Contents

    Class Radio

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll
    API Level:
    preview

    The Radio is a widget that allows for 1 or more options to be displayed, and have the user choose only 1 of them.

    public class Radio : Layout, IAccessibleObject
    Inheritance
    Object
    EvasObject
    AccessibleObject
    Widget
    Container
    Layout
    Radio
    Implements
    IAccessibleObject

    Constructors

    View Source

    Radio(EvasObject)

    Creates and initializes a new instance of the Radio class.

    Declaration
    public Radio(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    The EvasObject to which the new Radio will be attached as a child.

    API Level: preview

    Properties

    View Source

    GroupValue

    Sets or gets the value of the radio group.

    Declaration
    public int GroupValue { get; set; }
    Property Value
    Type Description
    Int32
    API Level: preview
    View Source

    StateValue

    Sets or gets a unique value to each radio button.

    Declaration
    public int StateValue { get; set; }
    Property Value
    Type Description
    Int32
    API Level: preview

    Methods

    View Source

    CreateHandle(EvasObject)

    Creates a widget handle.

    Declaration
    protected override IntPtr CreateHandle(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    Parent EvasObject.

    Returns
    Type Description
    IntPtr

    Handle IntPtr.

    Overrides
    Layout.CreateHandle(EvasObject)
    API Level: preview
    View Source

    SetGroup(Radio)

    Adds this radio to a group of other radio objects.

    Declaration
    public void SetGroup(Radio group)
    Parameters
    Type Name Description
    Radio group

    Group which add radio in.

    API Level: preview

    Events

    View Source

    ValueChanged

    ValueChanged will be triggered when value of the radio changes.

    Declaration
    public event EventHandler ValueChanged
    Event Type
    Type Description
    EventHandler
    API Level: preview

    Implements

    IAccessibleObject

    Extension Methods

    RotaryEventExtensions.AddRotaryEventHandler(EvasObject, RotaryEventHandler)
    RotaryEventExtensions.RemoveRotaryEventHandler(EvasObject, RotaryEventHandler)
    RotaryEventExtensions.Activate(EvasObject)
    RotaryEventExtensions.Deactivate(EvasObject)
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX