Class CircleGenList

    Definition

    Namespace:
    ElmSharp.Wearable
    Assembly:
    ElmSharp.Wearable.dll

    The Circle GenList Selector is a widget to display and handle the genlist items by the Rotary event. Inherits GenList.

    public class CircleGenList : GenList, IAccessibleObject, IRotaryActionWidget, ICircleWidget
    Inheritance
    object
    EvasObject
    AccessibleObject
    Widget
    Container
    Layout
    GenList
    CircleGenList
    Implements
    IAccessibleObject
    IRotaryActionWidget
    ICircleWidget

    Constructors

    View Source

    CircleGenList(EvasObject, CircleSurface)

    Creates and initializes a new instance of the Circle GenList class.

    Declaration
    public CircleGenList(EvasObject parent, CircleSurface surface)
    Parameters
    Type Name Description
    EvasObject parent

    The parent of the new Circle GenList instance.

    CircleSurface surface

    The surface for drawing the circle features for this widget.

    Properties

    View Source

    CircleHandle

    Gets the handle for the Circle widget.

    Declaration
    public virtual IntPtr CircleHandle { get; }
    Property Value
    Type Description
    System.IntPtr
    View Source

    CircleSurface

    Gets the handle for the circle surface used in this widget.

    Declaration
    public virtual CircleSurface CircleSurface { get; }
    Property Value
    Type Description
    CircleSurface
    View Source

    IsEnabled

    Sets or gets the state of the widget, which might be enabled or disabled.

    Declaration
    public override bool IsEnabled { get; set; }
    Property Value
    Type Description
    bool
    Overrides
    Widget.IsEnabled
    View Source

    VerticalScrollBackgroundColor

    Sets or gets the color of the scroll background.

    Declaration
    public Color VerticalScrollBackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    View Source

    VerticalScrollBackgroundLineWidth

    Sets or gets the line width of the scroll background.

    Declaration
    public int VerticalScrollBackgroundLineWidth { get; set; }
    Property Value
    Type Description
    int
    View Source

    VerticalScrollBackgroundRadius

    Sets or gets the radius of the scroll background.

    Declaration
    public double VerticalScrollBackgroundRadius { get; set; }
    Property Value
    Type Description
    double
    View Source

    VerticalScrollBarColor

    Sets or gets the color of the scrollbar.

    Declaration
    public Color VerticalScrollBarColor { get; set; }
    Property Value
    Type Description
    Color
    View Source

    VerticalScrollBarLineWidth

    Sets or gets the line width of the scrollbar.

    Declaration
    public int VerticalScrollBarLineWidth { get; set; }
    Property Value
    Type Description
    int
    View Source

    VerticalScrollBarRadius

    Sets or gets the radius of the scrollbar.

    Declaration
    public double VerticalScrollBarRadius { get; set; }
    Property Value
    Type Description
    double
    View Source

    VerticalScrollBarVisiblePolicy

    Sets or gets the policy if the scrollbar is visible.

    Declaration
    public ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy { get; set; }
    Property Value
    Type Description
    ScrollBarVisiblePolicy
    Remarks

    ScrollBarVisiblePolicy.Auto means the vertical scrollbar is made visible if it is needed, or otherwise kept hidden. ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.

    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
    System.IntPtr

    Handle IntPtr.

    Overrides
    GenList.CreateHandle(EvasObject)

    Implements

    IAccessibleObject
    IRotaryActionWidget
    ICircleWidget

    Extension Methods

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