Class CircleProgressBar
Definition
- Namespace:
- ElmSharp.Wearable
- Assembly:
- ElmSharp.Wearable.dll
- API Level:
- preview
The Circle ProgressBar is a widget for visually representing the progress status of a given job or task with the circular design.
public class CircleProgressBar : Widget, IAccessibleObject, ICircleWidget
- Inheritance
- Implements
Constructors
View SourceCircleProgressBar(EvasObject, CircleSurface)
Creates and initializes a new instance of the Circle Progressbar class.
Declaration
public CircleProgressBar(EvasObject parent, CircleSurface surface)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The parent of the new Circle Progressbar instance. |
CircleSurface | surface | The surface for drawing circle features for this widget. |
API Level: preview
Properties
View SourceBackgroundAngle
Sets or gets the angle value of the Background ProgressBar.
Declaration
public double BackgroundAngle { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceBackgroundAngleOffset
Sets or gets the angle offset value of the Background ProgressBar.
Declaration
public double BackgroundAngleOffset { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceBackgroundColor
Sets or gets the color of the Background ProgressBar.
Declaration
public override Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Overrides
API Level: preview
View SourceBackgroundLineWidth
Sets or gets the line width of the Background ProgressBar.
Declaration
public int BackgroundLineWidth { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
View SourceBackgroundRadius
Sets or gets the radius of the Background ProgressBar.
Declaration
public double BackgroundRadius { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceBarAngle
Sets or gets the angle value of the ProgressBar.
Declaration
public double BarAngle { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceBarAngleMaximum
Sets or gets the maximum angle value of the ProgressBar.
Declaration
public double BarAngleMaximum { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceBarAngleMinimum
Sets or gets the minimum angle value of the ProgressBar.
Declaration
public double BarAngleMinimum { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceBarAngleOffset
Sets or gets the angle offset value of the ProgressBar.
Declaration
public double BarAngleOffset { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceBarColor
Sets or gets the color of the ProgressBar.
Declaration
public Color BarColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: preview
View SourceBarLineWidth
Sets or gets the line width of the ProgressBar.
Declaration
public int BarLineWidth { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
View SourceBarRadius
Sets or gets the radius of the ProgressBar.
Declaration
public double BarRadius { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceCircleHandle
Gets the handle for the Circle widget.
Declaration
public virtual IntPtr CircleHandle { get; }
Property Value
Type | Description |
---|---|
IntPtr |
API Level: preview
View SourceCircleSurface
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 SourceIsEnabled
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
API Level: preview
View SourceMaximum
Sets or gets the maximum value of the ProgressBar.
Declaration
public double Maximum { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceMinimum
Sets or gets the minimum value of the ProgressBar.
Declaration
public double Minimum { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceValue
Sets or gets the value of the ProgressBar.
Declaration
public double Value { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
Methods
View SourceCreateHandle(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. |