Show / Hide Table of Contents

    Class CircleSpinner

    Definition

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

    The Circle Spinner is a widget to display and handle the spinner value by the Rotary event. Inherits Spinner.

    public class CircleSpinner : Spinner, IAccessibleObject, IRotaryActionWidget, ICircleWidget
    Inheritance
    Object
    EvasObject
    AccessibleObject
    Widget
    Container
    Layout
    Spinner
    CircleSpinner
    Implements
    IAccessibleObject
    IRotaryActionWidget
    ICircleWidget

    Constructors

    View Source

    CircleSpinner(EvasObject, CircleSurface)

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

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

    The parent of the new Circle Spinner instance.

    CircleSurface surface

    The surface for drawing circle features for this widget.

    API Level: preview

    Properties

    View Source

    CircleHandle

    Gets the handle for 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

    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

    MarkerColor

    MarkerColor is obsolete as of version 6.0.0 and is no longer supported

    Sets or gets the color of the marker.

    Declaration
    [Obsolete("MarkerColor is obsolete as of version 6.0.0 and is no longer supported")]
    public Color MarkerColor { get; set; }
    Property Value
    Type Description
    Color
    Remarks

    MarkerColor is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.

    API Level: preview
    View Source

    MarkerLineWidth

    MarkerLineWidth is obsolete as of version 6.0.0 and is no longer supported

    Sets or gets the line width of the marker.

    Declaration
    [Obsolete("MarkerLineWidth is obsolete as of version 6.0.0 and is no longer supported")]
    public int MarkerLineWidth { get; set; }
    Property Value
    Type Description
    Int32
    Remarks

    MarkerLineWidth is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.

    API Level: preview
    View Source

    MarkerRadius

    MarkerRadius is obsolete as of version 6.0.0 and is no longer supported

    Sets or gets the radius at which the center of the marker lies.

    Declaration
    [Obsolete("MarkerRadius is obsolete as of version 6.0.0 and is no longer supported")]
    public double MarkerRadius { get; set; }
    Property Value
    Type Description
    Double
    Remarks

    MarkerRadius is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.

    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
    Spinner.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