Class SfCircularProgressBar
The circular progress bar provides a customizable visual that indicates the progress of a task.
Inherited Members
Namespace: Syncfusion.Android.ProgressBar
Assembly: Syncfusion.SfProgressBar.Android.dll
Syntax
public class SfCircularProgressBar : ProgressBarBase
Constructors
SfCircularProgressBar(Context)
Initializes a new instance of the SfCircularProgressBar class.
Declaration
public SfCircularProgressBar(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context. |
SfCircularProgressBar(Context, IAttributeSet)
Initializes a new instance of the SfCircularProgressBar class.
Declaration
public SfCircularProgressBar(Context context, IAttributeSet attributes)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context. |
Android.Util.IAttributeSet | attributes | The attributes. |
SfCircularProgressBar(Context, IAttributeSet, Int32)
Initializes a new instance of the SfCircularProgressBar class.
Declaration
public SfCircularProgressBar(Context context, IAttributeSet attributes, int styleAttributes)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context. |
Android.Util.IAttributeSet | attributes | The attributes. |
System.Int32 | styleAttributes | The style attributes. |
SfCircularProgressBar(Context, IAttributeSet, Int32, Int32)
Initializes a new instance of the SfCircularProgressBar class.
Declaration
public SfCircularProgressBar(Context context, IAttributeSet attributes, int styleAttributes, int styleRes)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context. |
Android.Util.IAttributeSet | attributes | The attributes. |
System.Int32 | styleAttributes | The style attributes. |
System.Int32 | styleRes | The style res. |
SfCircularProgressBar(IntPtr, JniHandleOwnership)
Initializes a new instance of the SfCircularProgressBar class.
Declaration
public SfCircularProgressBar(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | javaReference | The java reference. |
Android.Runtime.JniHandleOwnership | transfer | The transfer. |
Properties
Content
Gets or sets the content for the SfCircularProgressBar.
Declaration
public View Content { get; set; }
Property Value
Type | Description |
---|---|
Android.Views.View | The content of the progress bar. |
EndAngle
Gets or sets the end angle of the SfCircularProgressBar.
Declaration
public double EndAngle { get; set; }
Property Value
Type |
---|
System.Double |
IndicatorInnerRadius
Gets or sets a value that indicates the inner radius of the progress indicator.
Declaration
public float IndicatorInnerRadius { get; set; }
Property Value
Type |
---|
System.Single |
IndicatorOuterRadius
Gets or sets a value that indicates the outer radius of the progress indicator.
Declaration
public float IndicatorOuterRadius { get; set; }
Property Value
Type |
---|
System.Single |
ShowProgressValue
Gets or sets a value indicating whether to show progress value label.
Declaration
public bool ShowProgressValue { get; set; }
Property Value
Type |
---|
System.Boolean |
StartAngle
Gets or sets the start angle of the SfCircularProgressBar.
Declaration
public double StartAngle { get; set; }
Property Value
Type |
---|
System.Double |
TrackInnerRadius
Gets or sets a value that indicates the inner radius of the track.
Declaration
public float TrackInnerRadius { get; set; }
Property Value
Type |
---|
System.Single |
TrackOuterRadius
Gets or sets a value that indicates the outer radius of the track.
Declaration
public float TrackOuterRadius { get; set; }
Property Value
Type |
---|
System.Single |
Methods
Dispose(Boolean)
Dispose the specified disposing.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | If set to |
OnMeasure(Int32, Int32)
Measures the device dimensions.
Declaration
protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | widthMeasureSpec | Width measure spec. |
System.Int32 | heightMeasureSpec | Height measure spec. |