Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfLinearProgressBar

    Show / Hide Table of Contents

    Class SfLinearProgressBar

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

    Inheritance
    System.Object
    ProgressBarBase
    SfLinearProgressBar
    Inherited Members
    ProgressBarBase.AnimationDurationProperty
    ProgressBarBase.EasingEffectProperty
    ProgressBarBase.IndeterminateEasingEffectProperty
    ProgressBarBase.GapWidthProperty
    ProgressBarBase.IsIndeterminateProperty
    ProgressBarBase.IndeterminateAnimationDurationProperty
    ProgressBarBase.MaximumProperty
    ProgressBarBase.MinimumProperty
    ProgressBarBase.ProgressProperty
    ProgressBarBase.TrackColorProperty
    ProgressBarBase.SegmentCountProperty
    ProgressBarBase.ProgressColorProperty
    ProgressBarBase.RangeColorsProperty
    ProgressBarBase.IndeterminateIndicatorWidthProperty
    ProgressBarBase.SetProgress(Double, Int32, Easing)
    ProgressBarBase.OnValueChanged(ProgressValueEventArgs)
    ProgressBarBase.OnProgressCompleted(ProgressValueEventArgs)
    ProgressBarBase.OnBindingContextChanged()
    ProgressBarBase.AnimationDuration
    ProgressBarBase.EasingEffect
    ProgressBarBase.IndeterminateEasingEffect
    ProgressBarBase.GapWidth
    ProgressBarBase.IsIndeterminate
    ProgressBarBase.IndeterminateAnimationDuration
    ProgressBarBase.Progress
    ProgressBarBase.RangeColors
    ProgressBarBase.TrackColor
    ProgressBarBase.Minimum
    ProgressBarBase.Maximum
    ProgressBarBase.SegmentCount
    ProgressBarBase.ProgressColor
    ProgressBarBase.IndeterminateIndicatorWidth
    ProgressBarBase.ValueChanged
    ProgressBarBase.ProgressCompleted
    Namespace: Syncfusion.XForms.ProgressBar
    Assembly: Syncfusion.SfProgressBar.XForms.dll
    Syntax
    public class SfLinearProgressBar : ProgressBarBase, IParentThemeElement, IThemeElement
    Examples
    SfLinearProgressBar progress = new SfLinearProgressBar();
    progress.ProgressValue = 12;
    progress.Minimum = 20;
    progress.SecondaryProgressValue = 40;

    Constructors

    SfLinearProgressBar()

    Initializes a new instance of the SfLinearProgressBar class.

    Declaration
    public SfLinearProgressBar()

    Fields

    CornerRadiusProperty

    Identifies the CornerRadius bindable property. This property can be used to change the corner radius of SfLinearProgressBar.

    Declaration
    public static readonly BindableProperty CornerRadiusProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    PaddingProperty

    Identifies the Padding bindable property.

    Declaration
    public static readonly BindableProperty PaddingProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    SecondaryAnimationDurationProperty

    Identifies the SecondaryAnimationDuration bindable property.

    Declaration
    public static readonly BindableProperty SecondaryAnimationDurationProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    SecondaryProgressColorProperty

    Identifies the SecondaryProgressColor bindable property. This property can be used to change the secondary progress color.

    Declaration
    public static readonly BindableProperty SecondaryProgressColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    SecondaryProgressProperty

    Identifies the SecondaryProgress bindable property.

    Declaration
    public static readonly BindableProperty SecondaryProgressProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    TrackHeightProperty

    Identifies the TrackHeight bindable property.

    Declaration
    public static readonly BindableProperty TrackHeightProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    CornerRadius

    Gets or sets a value of CornerRadius. This property can be used to change the corner radius of SfLinearProgressBar.

    Declaration
    public double CornerRadius { get; set; }
    Property Value
    Type Description
    System.Double

    Padding

    Gets or sets a value of Padding. This property can be used to change the padding value to the progress indicator.

    Declaration
    public Thickness Padding { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Thickness

    The width of the gap.

    SecondaryAnimationDuration

    Gets or sets a value of the SecondaryAnimationDuration. This property can be used to change the animation duration of SfLinearProgressBar.

    Declaration
    public int SecondaryAnimationDuration { get; set; }
    Property Value
    Type Description
    System.Int32

    The duration of the animation.

    SecondaryProgress

    Gets or sets the secondary progress value.

    Declaration
    public double SecondaryProgress { get; set; }
    Property Value
    Type Description
    System.Double

    The secondary progress.

    SecondaryProgressColor

    Gets or sets a value of SecondaryProgressColor. This property can be used to change the secondary progress color.

    Declaration
    public Color SecondaryProgressColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The secondary progress bar color.

    TrackHeight

    Gets or sets a value of TrackHeight. This property can be used to change the height of the track value to the progress indicator.

    Declaration
    public double TrackHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The height of the indicator.

    Methods

    Dispose(Boolean)

    This method is used to release unmanaged resources used by the SfLinearProgressBar class.

    Declaration
    public override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Indicates whether to dispose or not.

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