Class
RadProgressBar

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.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data")]
[Themable]
public class RadProgressBar : RangeBase

Inheritance: objectRadProgressBar

Derived Classes: RadCircularProgressBar

Constructors

RadProgressBar()

Initializes a new instance of the RadProgressBar class.

Declaration

cs-api-definition
public RadProgressBar()

Fields

ContentForegroundProperty

Identifies the ContentForeground property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentForegroundProperty

Field Value

DependencyProperty

ContentProperty

Identifies the Content property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentProperty

Field Value

DependencyProperty

ContentStringFormatProperty

Identifies the ContentStringFormat dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentStringFormatProperty

Field Value

DependencyProperty

ContentTemplateProperty

Identifies the ContentTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentTemplateProperty

Field Value

DependencyProperty

ContentTemplateSelectorProperty

Identifies the DropDownContentTemplateSelector property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentTemplateSelectorProperty

Field Value

DependencyProperty

IsIndeterminateProperty

Identifies the IsIndeterminate Property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsIndeterminateProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

SkipValueProperty

Identifies the SkipValue Property.

Declaration

cs-api-definition
public static readonly DependencyProperty SkipValueProperty

Field Value

DependencyProperty

Properties

Content

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

Declaration

cs-api-definition
public object Content { get; set; }

Property Value

object

ContentForeground

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

Declaration

cs-api-definition
public SolidColorBrush ContentForeground { get; set; }

Property Value

SolidColorBrush

ContentStringFormat

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

Declaration

cs-api-definition
public string ContentStringFormat { get; set; }

Property Value

string

ContentTemplate

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

Declaration

cs-api-definition
public DataTemplate ContentTemplate { get; set; }

Property Value

DataTemplate

ContentTemplateSelector

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

Declaration

cs-api-definition
public DataTemplateSelector ContentTemplateSelector { get; set; }

Property Value

DataTemplateSelector

IsIndeterminate

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

Declaration

cs-api-definition
public bool IsIndeterminate { get; set; }

Property Value

bool

True if this instance is indeterminate; otherwise, false.

Orientation

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

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

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

Remarks

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.

SkipValue

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

Declaration

cs-api-definition
public double SkipValue { get; set; }

Property Value

double

Methods

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

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

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnMaximumChanged(double, double)

Called when the property changes.

Declaration

cs-api-definition
protected override void OnMaximumChanged(double oldMaximum, double newMaximum)

Parameters

oldMaximum

double

Old value of the property.

newMaximum

double

New value of the property.

OnMinimumChanged(double, double)

Called when the property changes.

Declaration

cs-api-definition
protected override void OnMinimumChanged(double oldMinimum, double newMinimum)

Parameters

oldMinimum

double

Old value of the property.

newMinimum

double

New value of the property.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Declaration

cs-api-definition
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)

Parameters

e

DependencyPropertyChangedEventArgs

OnValueChanged(double, double)

Raises the routed event.

Declaration

cs-api-definition
protected override void OnValueChanged(double oldValue, double newValue)

Parameters

oldValue

double

Old value of the property.

newValue

double

New value of the property.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()