Class CircleSlider

    Definition

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

    Circle slider is a circular designed widget used to select a value in a range by the Rotary event.

    [Obsolete("This has been deprecated in API12")]
    public class CircleSlider : Widget, IAccessibleObject, IRotaryActionWidget, ICircleWidget
    Inheritance
    object
    EvasObject
    AccessibleObject
    Widget
    CircleSlider
    Implements
    IAccessibleObject
    IRotaryActionWidget
    ICircleWidget

    Constructors

    View Source

    CircleSlider(EvasObject, CircleSurface)

    Creates and initializes a new instance of the CircleSlider class.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public CircleSlider(EvasObject parent, CircleSurface surface)
    Parameters
    Type Name Description
    EvasObject parent

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

    CircleSurface surface

    The surface for drawing the circle features for this widget.

    Properties

    View Source

    BackgroundAngle

    Sets or gets the angle in degree of the circle slider background.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BackgroundAngle { get; set; }
    Property Value
    Type Description
    double
    View Source

    BackgroundAngleOffset

    Sets or gets the angle offset for the circle slider background. Offset value means start position of the slider background.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BackgroundAngleOffset { get; set; }
    Property Value
    Type Description
    double
    View Source

    BackgroundColor

    Sets or gets the color of the circle slider background.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public override Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    Overrides
    Widget.BackgroundColor
    View Source

    BackgroundLineWidth

    Sets or gets the line width of the circle slider background.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public int BackgroundLineWidth { get; set; }
    Property Value
    Type Description
    int
    View Source

    BackgroundRadius

    Gets or sets the radius value for the circle slider background.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BackgroundRadius { get; set; }
    Property Value
    Type Description
    double
    View Source

    BarAngle

    Sets or gets the angle in degree of the circle slider bar.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BarAngle { get; set; }
    Property Value
    Type Description
    double
    View Source

    BarAngleMaximum

    Sets or gets the maximum angle of the circle slider bar.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BarAngleMaximum { get; set; }
    Property Value
    Type Description
    double
    View Source

    BarAngleMinimum

    Sets or gets the minimum angle of the circle slider bar.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BarAngleMinimum { get; set; }
    Property Value
    Type Description
    double
    View Source

    BarAngleOffset

    Sets or gets the angle offset for the slider bar. Offset value means start position of the slider bar.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BarAngleOffset { get; set; }
    Property Value
    Type Description
    double
    View Source

    BarColor

    Sets or gets the color of the circle slider bar.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public Color BarColor { get; set; }
    Property Value
    Type Description
    Color
    View Source

    BarLineWidth

    Sets or gets the line width of the circle slider bar.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public int BarLineWidth { get; set; }
    Property Value
    Type Description
    int
    View Source

    BarRadius

    Gets or sets the radius value for the circle slider bar.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double BarRadius { get; set; }
    Property Value
    Type Description
    double
    View Source

    CircleHandle

    Gets the handle for the Circle widget.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    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
    [Obsolete("This has been deprecated in API12")]
    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
    [Obsolete("This has been deprecated in API12")]
    public override bool IsEnabled { get; set; }
    Property Value
    Type Description
    bool
    Overrides
    Widget.IsEnabled
    View Source

    Maximum

    Sets or gets the maximum values for the circle slider.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double Maximum { get; set; }
    Property Value
    Type Description
    double
    Remarks

    This defines the allowed maximum values to be selected by the user. If the actual value is bigger than the maximum value, it is updated to the maximum value. Actual value can be obtained with Value. By default, the minimum value is equal to 0.0, and the maximum value is equal to 1.0. Maximum must be greater than minimum, otherwise the behavior is undefined.

    View Source

    Minimum

    Sets or gets the minimum values for the circle slider.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double Minimum { get; set; }
    Property Value
    Type Description
    double
    Remarks

    This defines the allowed minimum values to be selected by the user. If the actual value is less than the minimum value, it is updated to the minimum value. Actual value can be obtained with Value. By default, minimum value is equal to 0.0.

    View Source

    Step

    Sets or gets the step by which the circle slider bar moves.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double Step { get; set; }
    Property Value
    Type Description
    double
    Remarks

    This value is used when the circle slider value is changed by a drag or the Rotary event. The value of the slider is increased/decreased by the step value.

    View Source

    Value

    Gets or sets the value displayed by the circle slider.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public double Value { get; set; }
    Property Value
    Type Description
    double
    Remarks

    The value must be between minimum and maximum.

    Methods

    View Source

    CreateHandle(EvasObject)

    Creates a widget handle.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    protected override IntPtr CreateHandle(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    Parent EvasObject

    Returns
    Type Description
    System.IntPtr

    Handle IntPtr.

    Overrides
    EvasObject.CreateHandle(EvasObject)
    View Source

    OnRealized()

    The callback of the Realized event.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    protected override void OnRealized()
    Overrides
    Widget.OnRealized()

    Events

    View Source

    ValueChanged

    Changed will be triggered when the circle slider value changes.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public event EventHandler ValueChanged
    Event Type
    Type Description
    System.EventHandler

    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