Show / Hide Table of Contents

    Class FlipSelector

    Definition

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

    The FlipSelector is a widget to show a set of text items, one at a time, with the same sheet switching style as the clock widget when one changes the current displaying sheet.

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

    Constructors

    View Source

    FlipSelector(EvasObject)

    Creates and initializes a new instance of the FlipSelector.

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

    Parent EvasObject.

    API Level: preview

    Properties

    View Source

    FirstItem

    Gets the first item in the given flip selector widget's list of items.

    Declaration
    public FlipSelectorItem FirstItem { get; }
    Property Value
    Type Description
    FlipSelectorItem
    API Level: preview
    View Source

    Interval

    Sets or gets the interval on time updates for a user mouse button to hold on the flip selector widget.

    Declaration
    public double Interval { get; set; }
    Property Value
    Type Description
    Double
    API Level: preview
    View Source

    LastItem

    Gets the last item in the given flip selector widget's list of items.

    Declaration
    public FlipSelectorItem LastItem { get; }
    Property Value
    Type Description
    FlipSelectorItem
    API Level: preview
    View Source

    SelectedItem

    Gets the currently selected item in the flip selector widget.

    Declaration
    public FlipSelectorItem SelectedItem { get; }
    Property Value
    Type Description
    FlipSelectorItem
    API Level: preview

    Methods

    View Source

    Append(String)

    Appends the (text) item to the flip selector widget.

    Declaration
    public FlipSelectorItem Append(string text)
    Parameters
    Type Name Description
    String text

    text value

    Returns
    Type Description
    FlipSelectorItem

    A handle to the item added, or null on errors.

    Remarks

    The widget's list of labels to show will be appended with the given value. If the user wishes so, a callback function pointer can be passed, which will get called when the same item is selected.

    API Level: preview
    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

    Next()

    Programmatically select the next item of the flip selector widget.

    Declaration
    public void Next()
    Remarks

    The selection will be animated. Also, if it reaches the beginning of its list of member items, it will continue with the last one backwards.

    API Level: preview
    View Source

    Prepend(String)

    Prepends the (text) item to a flip selector widget.

    Declaration
    public FlipSelectorItem Prepend(string text)
    Parameters
    Type Name Description
    String text

    Prepend text

    Returns
    Type Description
    FlipSelectorItem

    A handle to the item added, or null on errors.

    Remarks

    The widget's list of labels to show will be prepended with the given value. If the user wishes so, a callback function pointer can be passed, which will get called when the same item is selected.

    API Level: preview
    View Source

    Prev()

    Programmatically select the previous item of the flip selector widget.

    Declaration
    public void Prev()
    API Level: preview
    View Source

    Remove(FlipSelectorItem)

    To remove the given item.

    Declaration
    public void Remove(FlipSelectorItem item)
    Parameters
    Type Name Description
    FlipSelectorItem item

    FlipSelector's item.

    API Level: preview

    Events

    View Source

    Overflowed

    Overflowed will be triggered when overflowed.

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

    Selected

    Selected will be triggered when selected.

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

    Underflowed

    Underflowed will be triggered when underflowed.

    Declaration
    public event EventHandler Underflowed
    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