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
-
- Implements
-
Constructors
View Source
CircleSpinner(EvasObject)
Creates and initializes a new instance of the Circle Spinner class.
Declaration
public CircleSpinner(EvasObject parent)
Parameters
Type |
Name |
Description |
EvasObject |
parent |
The parent of the new Circle Spinner instance.
|
API Level: preview
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
AngleRatio
Sets or gets the circle spinner angle per each spinner value.
Declaration
public double AngleRatio { get; set; }
Property Value
API Level: preview
View Source
CircleHandle
Gets the handle for Circle widget.
Declaration
public virtual IntPtr CircleHandle { get; }
Property Value
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
API Level: preview
View Source
Disabled
Sets or gets the disabled state of this widget.
Declaration
public bool Disabled { get; set; }
Property Value
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
Overrides
API Level: preview
View Source
MarkerColor
Sets or gets the color of the marker.
Declaration
public Color MarkerColor { get; set; }
Property Value
API Level: preview
View Source
MarkerLineWidth
Sets or gets the line width of the marker.
Declaration
public int MarkerLineWidth { get; set; }
Property Value
API Level: preview
View Source
MarkerRadius
Sets or gets the radius at which the center of the marker lies.
Declaration
public double MarkerRadius { get; set; }
Property Value
API Level: preview
Methods
Declaration
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type |
Name |
Description |
EvasObject |
parent |
Parent EvasObject.
|
Returns
Type |
Description |
IntPtr |
Handle IntPtr.
|
Overrides
API Level: preview
Implements
Extension Methods