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.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
[TelerikToolboxCategory("Data")]
[Themable]
public class RadProgressBar : RangeBase, IThemable
Remarks
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.
Constructors
RadProgressBar()
Fields
ContentForegroundProperty
Identifies the ContentForeground property.
Declaration
public static readonly DependencyProperty ContentForegroundProperty
Field Value
System.
|
ContentProperty
Identifies the Content property.
Declaration
public static readonly DependencyProperty ContentProperty
Field Value
System.
|
ContentStringFormatProperty
Identifies the ContentStringFormat dependency property.
Declaration
public static readonly DependencyProperty ContentStringFormatProperty
Field Value
System.
|
ContentTemplateProperty
Identifies the ContentTemplate property.
Declaration
public static readonly DependencyProperty ContentTemplateProperty
Field Value
System.
|
ContentTemplateSelectorProperty
Identifies the DropDownContentTemplateSelector property.
Declaration
public static readonly DependencyProperty ContentTemplateSelectorProperty
Field Value
System.
|
IsIndeterminateProperty
Identifies the IsIndeterminate Property.
Declaration
public static readonly DependencyProperty IsIndeterminateProperty
Field Value
System.
|
OrientationProperty
Identifies the Orientation property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.
|
SkipValueProperty
Identifies the SkipValue Property.
Declaration
public static readonly DependencyProperty SkipValueProperty
Field Value
System.
|
Properties
Content
Gets or sets the Content property. This is a dependency property.
Declaration
public object Content { get; set; }
Property Value
System.
|
ContentForeground
Gets or sets the Content
Declaration
public SolidColorBrush ContentForeground { get; set; }
Property Value
System.
|
ContentStringFormat
Gets or sets the content string format of the progress bar.
Declaration
public string ContentStringFormat { get; set; }
Property Value
System.
|
ContentTemplate
Gets or sets the Content
Declaration
public DataTemplate ContentTemplate { get; set; }
Property Value
System.
|
ContentTemplateSelector
Gets or sets the template-selector used to display the content. This is a dependency property.
Declaration
public DataTemplateSelector ContentTemplateSelector { get; set; }
Property Value
System.
|
IsIndeterminate
Gets or sets a value indicating whether this instance is indeterminate.
Declaration
public bool IsIndeterminate { get; set; }
Property Value
System.
|
Orientation
Gets or sets the direction of filling of the control. This is a dependency property.
Declaration
public Orientation Orientation { get; set; }
Property Value
System. 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:
Examples
The following example demonstrates how to programmatically set the Orientation property of a RadProgressBar control.
void Page_Load(object sender, EventArgs e)
{
RadProgressBar myProgressBar = new RadProgressBar();
myProgressBar.Orientation = Orientation.Vertical;
}
SkipValue
Gets or sets a value indicating the offset from which the ProgressBar indicator should start from. This is a dependency property.
Declaration
public double SkipValue { get; set; }
Property Value
System.
|
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnMaximumChanged(Double, Double)
Called when the System.
Declaration
protected override void OnMaximumChanged(double oldMaximum, double newMaximum)
Parameters
System. Old value of the System. |
System. New value of the System. |
OnMinimumChanged(Double, Double)
Called when the System.
Declaration
protected override void OnMinimumChanged(double oldMinimum, double newMinimum)
Parameters
System. Old value of the System. |
System. New value of the System. |
OnPropertyChanged(DependencyPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System.
|
OnValueChanged(Double, Double)
Raises the System.
Declaration
protected override void OnValueChanged(double oldValue, double newValue)
Parameters
System. Old value of the System. |
System. New value of the System. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()