Show / Hide Table of Contents

    Class CircleScroller

    Definition

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

    Circle scroller provides the scrollbar with a circular movement, and is scrolled by the Rotary event.

    public class CircleScroller : Scroller, IAccessibleObject, IRotaryActionWidget, ICircleWidget
    Inheritance
    Object
    EvasObject
    AccessibleObject
    Widget
    Container
    Layout
    Scroller
    CircleScroller
    Implements
    IAccessibleObject
    IRotaryActionWidget
    ICircleWidget

    Constructors

    View Source

    CircleScroller(EvasObject, CircleSurface)

    Creates and initializes a new instance of the CircleScroller class.

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

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

    CircleSurface surface

    The surface for drawing circle features for this widget.

    API Level: preview

    Properties

    View Source

    CircleHandle

    Gets the handle for the Circle widget.

    Declaration
    public virtual IntPtr CircleHandle { get; }
    Property Value
    Type Description
    IntPtr
    API Level: preview
    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
    API Level: preview
    View Source

    HorizontalScrollBackgroundColor

    Sets or gets the color of the horizontal scroll background.

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

    HorizontalScrollBackgroundLineWidth

    Sets or gets the line width of the horizontal scroll background.

    Declaration
    public int HorizontalScrollBackgroundLineWidth { get; set; }
    Property Value
    Type Description
    Int32
    API Level: preview
    View Source

    HorizontalScrollBackgroundRadius

    Sets or gets the radius of the horizontal scroll background.

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

    HorizontalScrollBarColor

    Sets or gets the color of the horizontal scroll bar.

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

    HorizontalScrollBarLineWidth

    Sets or gets the line width of the horizontal scroll bar.

    Declaration
    public int HorizontalScrollBarLineWidth { get; set; }
    Property Value
    Type Description
    Int32
    API Level: preview
    View Source

    HorizontalScrollBarRadius

    Sets or gets the radius of the horizontal scroll bar.

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

    HorizontalScrollBarVisiblePolicy

    Sets or gets the value of HorizontalScrollBarVisiblePolicy.

    Declaration
    public override ScrollBarVisiblePolicy HorizontalScrollBarVisiblePolicy { get; set; }
    Property Value
    Type Description
    ScrollBarVisiblePolicy
    Overrides
    Scroller.HorizontalScrollBarVisiblePolicy
    Remarks

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

    API Level: preview
    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
    Boolean
    Overrides
    Widget.IsEnabled
    API Level: preview
    View Source

    VerticalScrollBackgroundColor

    Sets or gets the color of the vertical scroll background.

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

    VerticalScrollBackgroundLineWidth

    Sets or gets the line width of the vertical scroll background.

    Declaration
    public int VerticalScrollBackgroundLineWidth { get; set; }
    Property Value
    Type Description
    Int32
    API Level: preview
    View Source

    VerticalScrollBackgroundRadius

    Sets or gets the radius of the vertical scroll background.

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

    VerticalScrollBarColor

    Sets or gets the color of the vertical scroll bar.

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

    VerticalScrollBarLineWidth

    Sets or gets the line width of the vertical scroll bar.

    Declaration
    public int VerticalScrollBarLineWidth { get; set; }
    Property Value
    Type Description
    Int32
    API Level: preview
    View Source

    VerticalScrollBarRadius

    Sets or gets the radius of the vertical scroll bar.

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

    VerticalScrollBarVisiblePolicy

    Sets or gets the value of VerticalScrollBarVisiblePolicy.

    Declaration
    public override ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy { get; set; }
    Property Value
    Type Description
    ScrollBarVisiblePolicy
    Overrides
    Scroller.VerticalScrollBarVisiblePolicy
    Remarks

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

    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
    Scroller.CreateHandle(EvasObject)
    API Level: preview

    Implements

    IAccessibleObject
    IRotaryActionWidget
    ICircleWidget

    Extension Methods

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