Show / Hide Table of Contents

    Class RotarySelector

    Definition

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

    The RotarySelector is a widget to display a selector and multiple items surrounding the selector. An item can be selected by the Rotary event or user item click. Inherits Layout.

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

    Constructors

    View Source

    RotarySelector(EvasObject)

    Creates and initializes a new instance of the Rotary Selector class.

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

    The parent of the new Rotary Selector instance.

    API Level: preview

    Properties

    View Source

    BackgroundImage

    Sets or gets the background image of a rotary selector object.

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

    Items

    Gets the rotary selector item list of a rotary selector object.

    Declaration
    public IList<RotarySelectorItem> Items { get; }
    Property Value
    Type Description
    IList<RotarySelectorItem>
    API Level: preview
    View Source

    SelectedItem

    Sets or gets the selected item of a rotary selector object.

    Declaration
    public RotarySelectorItem SelectedItem { get; set; }
    Property Value
    Type Description
    RotarySelectorItem
    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 selecting again the already selected item or selecting a selector.

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

    Selected

    Selected will be triggered when selecting an item.

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