Class CircularProgress
Definition
- Assembly:
- Tizen.NUI.Wearable.dll
The CircularProgress class of Wearable is used to show the ongoing status with a circular bar. CircularProgress can be counted in its percentage.
public class CircularProgress : Control, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
- Inheritance
-
objectCircularProgress
- Implements
-
System.IDisposable
Constructors
View SourceCircularProgress()
The constructor of CircularProgress. Basically, CircularProgress is for full screen. (360 x 360) But, it also can be displayed on the button or the list for small size. User can set its size.
Declaration
public CircularProgress()
CircularProgress(string)
The constructor of the CircularProgress class with specific style.
Declaration
public CircularProgress(string style)
Parameters
Type | Name | Description |
---|---|---|
string | style | style name |
CircularProgress(CircularProgressStyle)
The constructor of the CircularProgress class with specific style.
Declaration
public CircularProgress(CircularProgressStyle progressStyle)
Parameters
Type | Name | Description |
---|---|---|
CircularProgressStyle | progressStyle | The style object to initialize the CircularProgress. |
Fields
View SourceCurrentValueProperty
Bindable property of CurrentValue
Declaration
public static readonly BindableProperty CurrentValueProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IsEnabledProperty
Bindable property of IsEnabled
Declaration
public static readonly BindableProperty IsEnabledProperty
Field Value
Type | Description |
---|---|
BindableProperty |
MaxValueProperty
Bindable property of MaxValue
Declaration
public static readonly BindableProperty MaxValueProperty
Field Value
Type | Description |
---|---|
BindableProperty |
MinValueProperty
Bindable property of MinValue
Declaration
public static readonly BindableProperty MinValueProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ProgressColorProperty
Bindable property of ProgressColor
Declaration
public static readonly BindableProperty ProgressColorProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ThicknessProperty
Bindable property of Thickness
Declaration
public static readonly BindableProperty ThicknessProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TrackColorProperty
Bindable property of TrackColor
Declaration
public static readonly BindableProperty TrackColorProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
View SourceCurrentValue
The property to get/set the current value of the CircularProgress. The default value is 0.
Declaration
public float CurrentValue { get; set; }
Property Value
Type | Description |
---|---|
float |
IsEnabled
Flag to be enabled or disabled in CircularProgress.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
MaxValue
The property to get/set the maximum value of the CircularProgress. The default value is 100.
Declaration
public float MaxValue { get; set; }
Property Value
Type | Description |
---|---|
float |
MinValue
The property to get/set the minimum value of the CircularProgress. The default value is 0.
Declaration
public float MinValue { get; set; }
Property Value
Type | Description |
---|---|
float |
ProgressColor
The property to get/set Progress object color of the CircularProgress.
Declaration
public Color ProgressColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Thickness
The thickness of the track and progress.
Declaration
public float Thickness { get; set; }
Property Value
Type | Description |
---|---|
float |
TrackColor
The property to get/set Track object color of the CircularProgress.
Declaration
public Color TrackColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Methods
View SourceCreateViewStyle()
Get Progress style.
Declaration
protected override ViewStyle CreateViewStyle()
Returns
Type | Description |
---|---|
ViewStyle | The default progress style. |
Overrides
View SourceDispose(DisposeTypes)
Dispose Progress and all children on it.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
View SourceOnControlStateChanged(ControlStateChangedEventArgs)
Declaration
protected override void OnControlStateChanged(View.ControlStateChangedEventArgs controlStateChangedInfo)
Parameters
Type | Name | Description |
---|---|---|
View.ControlStateChangedEventArgs | controlStateChangedInfo |
Overrides
View SourceUpdateValue()
Update progress value
Declaration
protected virtual void UpdateValue()