Show / Hide Table of Contents

    Class MoreOption

    Definition

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

    The MoreOption is a widget composed of the toggle (cue button) and more option view that can change a visibility through the toggle. Inherits Layout

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

    Constructors

    View Source

    MoreOption(EvasObject)

    Creates and initializes a new instance of the MoreOption class.

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

    The parent is a given container, which will be attached by the MoreOption as a child. It's EvasObject type.

    API Level: preview

    Properties

    View Source

    Direction

    Sets or gets the direction of more option.

    Declaration
    public MoreOptionDirection Direction { get; set; }
    Property Value
    Type Description
    MoreOptionDirection
    API Level: preview
    View Source

    IsOpened

    Sets or gets the visibility of the more option view.

    Declaration
    public bool IsOpened { get; set; }
    Property Value
    Type Description
    Boolean
    API Level: preview
    View Source

    Items

    Sets or gets the list of the more option item.

    Declaration
    public IList<MoreOptionItem> Items { get; }
    Property Value
    Type Description
    IList<MoreOptionItem>
    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

    Clicked

    Clicked will be triggered when the user selects the already selected item again or selects a selector.

    Declaration
    public event EventHandler<MoreOptionItemEventArgs> Clicked
    Event Type
    Type Description
    EventHandler<MoreOptionItemEventArgs>
    API Level: preview
    View Source

    Closed

    Closed will be triggered when the more option view is hidden.

    Declaration
    public event EventHandler Closed
    Event Type
    Type Description
    EventHandler
    API Level: preview
    View Source

    Opened

    Opened will be triggered when the more option view is shown.

    Declaration
    public event EventHandler Opened
    Event Type
    Type Description
    EventHandler
    API Level: preview
    View Source

    Selected

    Selected will be triggered when the user selects an item.

    Declaration
    public event EventHandler<MoreOptionItemEventArgs> Selected
    Event Type
    Type Description
    EventHandler<MoreOptionItemEventArgs>
    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