menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfCircularProgressBar - API Reference

    Show / Hide Table of Contents

    Class SfCircularProgressBar

    The circular progress bar provides a customizable visual that indicates the progress of a task.

    Inheritance
    System.Object
    ProgressBarBase
    SfCircularProgressBar
    Inherited Members
    ProgressBarBase.OnAttachedToWindow()
    ProgressBarBase.OnFinishInflate()
    ProgressBarBase.OnDraw(Canvas)
    ProgressBarBase.Progress
    ProgressBarBase.IsIndeterminate
    ProgressBarBase.Minimum
    ProgressBarBase.Maximum
    ProgressBarBase.ProgressColor
    ProgressBarBase.RangeColors
    ProgressBarBase.IndeterminateIndicatorWidth
    ProgressBarBase.TrackColor
    ProgressBarBase.AnimationDuration
    ProgressBarBase.IndeterminateAnimationDuration
    ProgressBarBase.SegmentCount
    ProgressBarBase.GapWidth
    ProgressBarBase.ProgressDrawable
    ProgressBarBase.IndeterminateProgressDrawable
    ProgressBarBase.ValueChanged
    ProgressBarBase.ProgressCompleted
    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 Description
    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 Description
    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 Description
    System.Single

    ShowProgressValue

    Gets or sets a value indicating whether to show progress value label.

    Declaration
    public bool ShowProgressValue { get; set; }
    Property Value
    Type Description
    System.Boolean

    StartAngle

    Gets or sets the start angle of the SfCircularProgressBar.

    Declaration
    public double StartAngle { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    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 true disposing.

    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.

    Overrides
    ProgressBarBase.OnMeasure(Int32, Int32)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved