Show / Hide Table of Contents

    Class Check

    Definition

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

    The Check is a widget that allows for toggling a value between true and false.

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

    Constructors

    View Source

    Check(EvasObject)

    Creates and initializes a new instance of the Check class.

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

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

    API Level: preview

    Properties

    View Source

    IsChecked

    Sets or gets whether the given check is checked or not.

    Declaration
    public bool IsChecked { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    When an object is checked, the value will be set to true. Conversely, will be set to false.

    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

    Events

    View Source

    StateChanged

    StateChanged will be triggered when the IsChecked in the check is changed.

    Declaration
    public event EventHandler<CheckStateChangedEventArgs> StateChanged
    Event Type
    Type Description
    EventHandler<CheckStateChangedEventArgs>
    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