WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ProgressBarBase - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ProgressBarBase

    Represents the base class for progress bar.

    Inheritance
    System.Object
    ProgressBarBase
    SfCircularProgressBar
    SfLinearProgressBar
    Namespace: Syncfusion.UI.Xaml.ProgressBar
    Assembly: Syncfusion.SfProgressBar.WPF.dll
    Syntax
    public abstract class ProgressBarBase : ContentControl

    Fields

    AnimationEasingProperty

    Identifies the AnimationEasing dependency property.

    Declaration
    public static readonly DependencyProperty AnimationEasingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    GapWidthProperty

    Dependency property for GapWidth.

    Declaration
    public static readonly DependencyProperty GapWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IndeterminateIndicatorWidthProperty

    Identifies the IndeterminateIndicatorWidth dependency property.

    Declaration
    public static readonly DependencyProperty IndeterminateIndicatorWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IndicatorCornerRadiusProperty

    Identifies the IndicatorCornerRadius dependency property.

    Declaration
    public static readonly DependencyProperty IndicatorCornerRadiusProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsIndeterminateProperty

    Dependency property for IsIndeterminate.

    Declaration
    public static readonly DependencyProperty IsIndeterminateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MaximumProperty

    Dependency property for Maximum.

    Declaration
    public static readonly DependencyProperty MaximumProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MinimumProperty

    Dependency property for Minimum.

    Declaration
    public static readonly DependencyProperty MinimumProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ProgressColorProperty

    Dependency property for ProgressColor.

    Declaration
    public static readonly DependencyProperty ProgressColorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ProgressProperty

    Dependency property for Progress.

    Declaration
    public static readonly DependencyProperty ProgressProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    RangeColorsProperty

    Dependency property for RangeColors.

    Declaration
    public static readonly DependencyProperty RangeColorsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SegmentCountProperty

    Dependency property for SegmentCount.

    Declaration
    public static readonly DependencyProperty SegmentCountProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TrackColorProperty

    Dependency property for TrackColor.

    Declaration
    public static readonly DependencyProperty TrackColorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    AnimationDuration

    Gets or sets the duration for completing one animation cycle and it applies when the IsIndeterminate is true.

    Declaration
    public TimeSpan AnimationDuration { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    The default value is 3000 milli seconds.

    Remarks

    The AnimationDuration works only when IsIndeterminate is true.

    Examples

    Below example shows how to set animation duration for linear and circular progressbar.

    <Syncfusion:SfLinearProgressBar AnimationDuration="0:0:3"  IsIndeterminate="True" Progress="75" />
    <Syncfusion:SfCircularProgressBar AnimationDuration="0:0:3"  IsIndeterminate="True" Progress="75" />
    See Also
    IsIndeterminate

    AnimationEasing

    Gets or sets the easing function to apply for linear and circular progress bar animation and it applies when the IsIndeterminate is true.

    Declaration
    public EasingFunctionBase AnimationEasing { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Animation.EasingFunctionBase

    The default value is null.

    Remarks

    The AnimationEasing works only when the IsIndeterminate is true.

    Examples

    Below example shows how to set animation duration for linear and circular progressbar.

    <Syncfusion:SfLinearProgressBar AnimationDuration="0:0:3"  IsIndeterminate="True" Progress="75" >
      <Syncfusion:SfLinearProgressBar.AnimationEasing>
           <QuarticEase EasingMode = "EaseOut" />
      </ Syncfusion:SfLinearProgressBar.AnimationEasing>
    </Syncfusion:SfLinearProgressBar>
    <Syncfusion:SfCircularProgressBar AnimationDuration="0:0:3"  IsIndeterminate="True" Progress="75" >
      <Syncfusion:SfCircularProgressBar.AnimationEasing>
           <QuarticEase EasingMode = "EaseOut" />
      </ Syncfusion:SfCircularProgressBar.AnimationEasing>
    </Syncfusion:SfCircularProgressBar>
    See Also
    IsIndeterminate
    AnimationDuration

    GapWidth

    Gets or sets the value that determines gap between the segments.

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

    IndeterminateIndicatorWidth

    Gets or sets the level of indicator in indeterminate state.

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

    IndicatorCornerRadius

    Gets or sets the corner radius of the SfLinearProgressBar.

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

    IsIndeterminate

    Gets or sets a value indicating whether progress bar is in indeterminate state.

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

    Maximum

    Gets or sets the maximum range value of the progress bar.

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

    Minimum

    Gets or sets the minimum range value of the progress bar.

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

    Progress

    Gets or sets the progress value.

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

    ProgressColor

    Gets or sets the color of the progress indicator.

    Declaration
    public Brush ProgressColor { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    RangeColors

    Gets or sets the colors with range.

    Declaration
    public RangeColorCollection RangeColors { get; set; }
    Property Value
    Type Description
    RangeColorCollection

    SegmentCount

    Gets or sets a count of the segments in progress bar.

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

    TrackColor

    Gets or sets the color of the track.

    Declaration
    public Brush TrackColor { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved