New to Telerik UI for WPF? Start a free 30-day trial

The RadProgressBar control can be used to to indicate the progress of an operation. It gives to an end-user visual feedback about an operation he is waiting for to complete.

The RadProgressBar control should be used as a visual indication of the progress of an operation. The developer is responsible for programmatically updating the value of the RadProgressBar, while the control takes care of the visual representation of its value.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
[TelerikToolboxCategory("Data")]
[Themable]
public class RadProgressBar : RangeBase

Inheritance: objectRadProgressBar

Derived Classes: RadCircularProgressBar

Constructors

Initializes a new instance of the RadProgressBar class.

C#
public RadProgressBar()

Fields

ContentForegroundProperty

DependencyProperty

Identifies the ContentForeground property.

C#
public static readonly DependencyProperty ContentForegroundProperty

ContentProperty

DependencyProperty

Identifies the Content property.

C#
public static readonly DependencyProperty ContentProperty

ContentStringFormatProperty

DependencyProperty

Identifies the ContentStringFormat dependency property.

C#
public static readonly DependencyProperty ContentStringFormatProperty

ContentTemplateProperty

DependencyProperty

Identifies the ContentTemplate property.

C#
public static readonly DependencyProperty ContentTemplateProperty

Identifies the DropDownContentTemplateSelector property.

C#
public static readonly DependencyProperty ContentTemplateSelectorProperty

IsIndeterminateProperty

DependencyProperty

Identifies the IsIndeterminate Property.

C#
public static readonly DependencyProperty IsIndeterminateProperty

OrientationProperty

DependencyProperty

Identifies the Orientation property.

C#
public static readonly DependencyProperty OrientationProperty

SkipValueProperty

DependencyProperty

Identifies the SkipValue Property.

C#
public static readonly DependencyProperty SkipValueProperty

Properties

Gets or sets the Content property. This is a dependency property.

C#
public object Content { get; set; }

ContentForeground

SolidColorBrush

Gets or sets the ContentForeground property. This is a dependency property.

C#
public SolidColorBrush ContentForeground { get; set; }

Gets or sets the content string format of the progress bar.

C#
public string ContentStringFormat { get; set; }

ContentTemplate

DataTemplate

Gets or sets the ContentTemplate property. This is a dependency property.

C#
public DataTemplate ContentTemplate { get; set; }

ContentTemplateSelector

DataTemplateSelector

Gets or sets the template-selector used to display the content. This is a dependency property.

C#
public DataTemplateSelector ContentTemplateSelector { get; set; }

Gets or sets a value indicating whether this instance is indeterminate.

C#
public bool IsIndeterminate { get; set; }
Property Value:

True if this instance is indeterminate; otherwise, false.

Orientation

Orientation

Gets or sets the direction of filling of the control. This is a dependency property.

C#
public Orientation Orientation { get; set; }
Property Value:

One of the Orientation values. The default value is Horizontal.

Use the ExpandMode property to specify the way RadPanelBar should behave after an item is expanded. The available options are:

  • Single (default) - Only one item can be expanded at a time. Expanding another item collapses the previously expanded one.
  • Multiple - More than one item can be expanded at a time.
Example:
C#
void Page_Load(object sender, EventArgs e)
{
RadProgressBar myProgressBar = new RadProgressBar();
myProgressBar.Orientation = Orientation.Vertical;
}

Gets or sets a value indicating the offset from which the ProgressBar indicator should start from. This is a dependency property.

C#
public double SkipValue { get; set; }

Methods

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when the property changes.

C#
protected override void OnMaximumChanged(double oldMaximum, double newMaximum)
Parameters:oldMaximumdouble

Old value of the property.

newMaximumdouble

New value of the property.

Called when the property changes.

C#
protected override void OnMinimumChanged(double oldMinimum, double newMinimum)
Parameters:oldMinimumdouble

Old value of the property.

newMinimumdouble

New value of the property.

C#
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters:eDependencyPropertyChangedEventArgs

Raises the routed event.

C#
protected override void OnValueChanged(double oldValue, double newValue)
Parameters:oldValuedouble

Old value of the property.

newValuedouble

New value of the property.

Resets the theme.

C#
public void ResetTheme()