Class ProgressBarBase
Represents the base class for progress bar.
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 |
---|
System.Windows.DependencyProperty |
GapWidthProperty
Dependency property for GapWidth.
Declaration
public static readonly DependencyProperty GapWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IndeterminateIndicatorWidthProperty
Identifies the IndeterminateIndicatorWidth dependency property.
Declaration
public static readonly DependencyProperty IndeterminateIndicatorWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IndicatorCornerRadiusProperty
Identifies the IndicatorCornerRadius dependency property.
Declaration
public static readonly DependencyProperty IndicatorCornerRadiusProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsIndeterminateProperty
Dependency property for IsIndeterminate.
Declaration
public static readonly DependencyProperty IsIndeterminateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaximumProperty
Dependency property for Maximum.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinimumProperty
Dependency property for Minimum.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ProgressColorProperty
Dependency property for ProgressColor.
Declaration
public static readonly DependencyProperty ProgressColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ProgressProperty
Dependency property for Progress.
Declaration
public static readonly DependencyProperty ProgressProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RangeColorsProperty
Dependency property for RangeColors.
Declaration
public static readonly DependencyProperty RangeColorsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SecondaryProgressColorProperty
Identifies the SecondaryProgressColor dependency property.
Declaration
public static readonly DependencyProperty SecondaryProgressColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SecondaryProgressProperty
Identifies the SecondaryProgress dependency property.
Declaration
public static readonly DependencyProperty SecondaryProgressProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SegmentCountProperty
Dependency property for SegmentCount.
Declaration
public static readonly DependencyProperty SegmentCountProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TrackColorProperty
Dependency property for TrackColor.
Declaration
public static readonly DependencyProperty TrackColorProperty
Field Value
Type |
---|
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
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
GapWidth
Gets or sets the value that determines gap between the segments.
Declaration
public double GapWidth { get; set; }
Property Value
Type |
---|
System.Double |
IndeterminateIndicatorWidth
Gets or sets the level of indicator in indeterminate state.
Declaration
public double IndeterminateIndicatorWidth { get; set; }
Property Value
Type |
---|
System.Double |
IndicatorCornerRadius
Gets or sets the corner radius of the SfLinearProgressBar.
Declaration
public double IndicatorCornerRadius { get; set; }
Property Value
Type |
---|
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 |
---|
System.Boolean |
Maximum
Gets or sets the maximum range value of the progress bar.
Declaration
public double Maximum { get; set; }
Property Value
Type |
---|
System.Double |
Minimum
Gets or sets the minimum range value of the progress bar.
Declaration
public double Minimum { get; set; }
Property Value
Type |
---|
System.Double |
Progress
Gets or sets the progress value.
Declaration
public double Progress { get; set; }
Property Value
Type |
---|
System.Double |
ProgressColor
Gets or sets the color of the progress indicator.
Declaration
public Brush ProgressColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
RangeColors
Gets or sets the colors with range.
Declaration
public RangeColorCollection RangeColors { get; set; }
Property Value
Type |
---|
RangeColorCollection |
SecondaryProgress
Gets or sets the value of the secondary progress which is useful for displaying intermediate progress, such as the buffer level during a streaming playback progress bar.
Declaration
public double SecondaryProgress { get; set; }
Property Value
Type |
---|
System.Double |
Remarks
The range of secondary progress bar is between 0 and 100.
See Also
SecondaryProgressColor
Gets or sets the color of the secondary progress indicator.
Declaration
public Brush SecondaryProgressColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
See Also
SegmentCount
Gets or sets a count of the segments in progress bar.
Declaration
public int SegmentCount { get; set; }
Property Value
Type |
---|
System.Int32 |
TrackColor
Gets or sets the color of the track.
Declaration
public Brush TrackColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |