Class SfCircularProgressBar
The circular progress bar provides a customizable visual that indicates the progress of a task.
Inherited Members
Namespace: Syncfusion.XForms.ProgressBar
Assembly: Syncfusion.SfProgressBar.XForms.dll
Syntax
public class SfCircularProgressBar : ProgressBarBase, IParentThemeElement, IThemeElement
Examples
SfCircularProgressBar progress = new SfCircularProgressBar();
progress.ProgressValue = 12;
progress.Minimum = 20;
Constructors
SfCircularProgressBar()
Initializes a new instance of the SfCircularProgressBar class.
Declaration
public SfCircularProgressBar()
Fields
ContentProperty
Identifies the Content bindable property. This property can be used to change the content of SfCircularProgressBar.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
EndAngleProperty
Identifies the EndAngle bindable property. This property can be used to change the end angle of SfCircularProgressBar.
Declaration
public static readonly BindableProperty EndAngleProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
IndicatorInnerRadiusProperty
Identifies the IndicatorInnerRadius bindable property. This property can be used to change an indicator inner radius of SfCircularProgressBar.
Declaration
public static readonly BindableProperty IndicatorInnerRadiusProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
IndicatorOuterRadiusProperty
Identifies the IndicatorOuterRadius bindable property. This property can be used to change an indicator outer radius of SfCircularProgressBar.
Declaration
public static readonly BindableProperty IndicatorOuterRadiusProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ShowProgressValueProperty
Identifies the ShowProgressValue bindable property. It indicates whether the progress value is shown or not in SfCircularProgressBar.
Declaration
public static readonly BindableProperty ShowProgressValueProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
StartAngleProperty
Identifies the StartAngle bindable property. This property can be used to change the start angle of SfCircularProgressBar.
Declaration
public static readonly BindableProperty StartAngleProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
TrackInnerRadiusProperty
Identifies the TrackInnerRadius bindable property. This property can be used to track inner radius of SfCircularProgressBar.
Declaration
public static readonly BindableProperty TrackInnerRadiusProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
TrackOuterRadiusProperty
Identifies the TrackOuterRadius bindable property. This property can be used to change the track outer radius of SfCircularProgressBar.
Declaration
public static readonly BindableProperty TrackOuterRadiusProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
Properties
Content
Gets or sets the content for SfCircularProgressBar. This property can be used to change the content of SfCircularProgressBar.
Declaration
public View Content { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.View |
EndAngle
Gets or sets the value of the EndAngle. This property can be used to change the end angle of SfCircularProgressBar.
Declaration
public double EndAngle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The end angle. |
IndicatorInnerRadius
Gets or sets a value of IndicatorInnerRadius. This property can be used to change the indicator inner radius of SfCircularProgressBar.
Declaration
public double IndicatorInnerRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The radius. |
IndicatorOuterRadius
Gets or sets a value of the IndicatorOuterRadius. This property can be used to change the track outer radius of SfCircularProgressBar.
Declaration
public double IndicatorOuterRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The radius. |
ShowProgressValue
Gets or sets a value indicating whether to show progress value label or not in SfCircularProgressBar.
Declaration
public bool ShowProgressValue { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
StartAngle
Gets or sets the start angle of SfCircularProgressBar. This property can be used to change the start angle of SfCircularProgressBar.
Declaration
public double StartAngle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The start angle. |
TrackInnerRadius
Gets or sets a value of TrackInnerRadius. This property can be used to change the track inner radius of SfCircularProgressBar.
Declaration
public double TrackInnerRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The radius. |
TrackOuterRadius
Gets or sets a value of the TrackOuterRadius. This property can be used to change the track outer radius of SfCircularProgressBar.
Declaration
public double TrackOuterRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The radius. |
Methods
Dispose(Boolean)
This method is used to release unmanaged resources used by the SfCircularProgressBar class.
Declaration
public override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | Indicates whether to dispose or not. |
Overrides
OnBindingContextChanged()
On progress bar binding context changed.
Declaration
protected override void OnBindingContextChanged()