Represents a circular progress bar that visually indicates progress and completion. The RadCircularProgressBar is highly customizable, allowing settings for angles, segments, colors, and more. It inherits from RadProgressBar. Key features include:
- Customizable start and end angles to define the segment of the circle that represents progress.
- Control over the number of segments and their density, enabling varied visual representations.
- Support for indeterminate progress state for scenarios where completion cannot be defined.
- Options for rounded segments and color ranges for enhanced visual appeal.
Usage examples include loading indicators, visual completion meters, or any scenario where a circular representation of progress is required.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Data")]
public class RadCircularProgressBar : RadProgressBar
Inheritance: objectRadProgressBarRadCircularProgressBar
Inherited Members
Constructors
Initializes a new instance of the RadCircularProgressBar class.
public RadCircularProgressBar()
Fields
EndAngleProperty
DependencyProperty
Identifies the EndAngle dependency property.
public static readonly DependencyProperty EndAngleProperty
IndeterminateIndicatorRatioProperty
DependencyProperty
Identifies the IndeterminateIndicatorRatio dependency property.
public static readonly DependencyProperty IndeterminateIndicatorRatioProperty
IndicatorEndRadiusProperty
DependencyProperty
Identifies the IndicatorEndRadius dependency property.
public static readonly DependencyProperty IndicatorEndRadiusProperty
IndicatorFillProperty
DependencyProperty
Identifies the IndicatorFill dependency property.
public static readonly DependencyProperty IndicatorFillProperty
IndicatorStartRadiusProperty
DependencyProperty
Identifies the IndicatorStartRadius dependency property.
public static readonly DependencyProperty IndicatorStartRadiusProperty
IndicatorStrokeProperty
DependencyProperty
Identifies the IndicatorStroke dependency property.
public static readonly DependencyProperty IndicatorStrokeProperty
IndicatorThicknessProperty
DependencyProperty
Identifies the IndicatorThickness dependency property.
public static readonly DependencyProperty IndicatorThicknessProperty
SecondaryIndicatorFillProperty
DependencyProperty
Identifies the SecondaryIndicatorFill dependency property.
public static readonly DependencyProperty SecondaryIndicatorFillProperty
SecondaryValueProperty
DependencyProperty
Identifies the SecondaryValue dependency property.
public static readonly DependencyProperty SecondaryValueProperty
SegmentsDensityProperty
DependencyProperty
Identifies the SegmentsDensity dependency property.
public static readonly DependencyProperty SegmentsDensityProperty
SegmentsProperty
DependencyProperty
Identifies the Segments dependency property.
public static readonly DependencyProperty SegmentsProperty
StartAngleProperty
DependencyProperty
Identifies the StartAngle dependency property.
public static readonly DependencyProperty StartAngleProperty
TrackEndRadiusProperty
DependencyProperty
Identifies the TrackEndRadius dependency property.
public static readonly DependencyProperty TrackEndRadiusProperty
TrackFillProperty
DependencyProperty
Identifies the TrackFill dependency property.
public static readonly DependencyProperty TrackFillProperty
TrackStartRadiusProperty
DependencyProperty
Identifies the TrackStartRadius dependency property.
public static readonly DependencyProperty TrackStartRadiusProperty
UseRoundedSegmentsProperty
DependencyProperty
Identifies the UseRoundedSegments dependency property.
public static readonly DependencyProperty UseRoundedSegmentsProperty
Properties
Gets the list of range color definitions of the progress bar.
public ObservableCollection<ProgressBarColorRange> ColorRanges { get; }
Gets or sets a value indicating the end angle of the progress track and indicator in degrees. Default value is 360.
public double EndAngle { get; set; }
Gets or sets the ratio of the indicator part which will be animated when the control is in indeterminate state.
public double IndeterminateIndicatorRatio { get; set; }
Gets or sets the indicator end radius (outer radius) which is relative to the radius (half size) of the RadCircularProgressBar. Default value is 1.0.
public double IndicatorEndRadius { get; set; }
IndicatorFill
Brush
Gets or sets the fill of the indicator.
public Brush IndicatorFill { get; set; }
Gets or sets the indicator start radius (inner radius) which is relative to the radius (half size) of the RadCircularProgressBar. Default value is 0.8.
public double IndicatorStartRadius { get; set; }
IndicatorStroke
Brush
Gets or sets the stroke of the indicator.
public Brush IndicatorStroke { get; set; }
Gets or sets the stroke thickness of the indicator.
public double IndicatorThickness { get; set; }
Gets or sets the fill of the secondary indicator.
public Brush SecondaryIndicatorFill { get; set; }
Gets or sets the value visualized by the secondary indicator.
public double SecondaryValue { get; set; }
Gets or sets the density of the segments. It is value in range [0-1] with a default value of 0.95.
public double SegmentsDensity { get; set; }
Gets or sets a value indicating the start angle of the progress track and indicator in degrees. Default value is 0.
public double StartAngle { get; set; }
Gets or sets the track end radius (outer radius) which is relative to the radius (half size) of the RadCircularProgressBar. Default value is 1.0.
public double TrackEndRadius { get; set; }
TrackFill
Brush
Gets or sets the fill of the track.
public Brush TrackFill { get; set; }
Gets or sets the track start radius (inner radius) which is relative to the radius (half size) of the RadCircularProgressBar. Default value is 0.8.
public double TrackStartRadius { get; set; }
Gets or sets a value indicating whether the segments are rounded. Default value is false.
public bool UseRoundedSegments { get; set; }
Methods
protected override Size MeasureOverride(Size constraint)
Size
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
Resets the theme.
public void ResetTheme()