ClassRadCircularProgressBar
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
RadCircularProgressBar()
Initializes a new instance of the RadCircularProgressBar class.
Declaration
public RadCircularProgressBar()
Fields
EndAngleProperty
Identifies the EndAngle dependency property.
Declaration
public static readonly DependencyProperty EndAngleProperty
Field Value
DependencyProperty
IndeterminateIndicatorRatioProperty
Identifies the IndeterminateIndicatorRatio dependency property.
Declaration
public static readonly DependencyProperty IndeterminateIndicatorRatioProperty
Field Value
DependencyProperty
IndicatorEndRadiusProperty
Identifies the IndicatorEndRadius dependency property.
Declaration
public static readonly DependencyProperty IndicatorEndRadiusProperty
Field Value
DependencyProperty
IndicatorFillProperty
Identifies the IndicatorFill dependency property.
Declaration
public static readonly DependencyProperty IndicatorFillProperty
Field Value
DependencyProperty
IndicatorStartRadiusProperty
Identifies the IndicatorStartRadius dependency property.
Declaration
public static readonly DependencyProperty IndicatorStartRadiusProperty
Field Value
DependencyProperty
IndicatorStrokeProperty
Identifies the IndicatorStroke dependency property.
Declaration
public static readonly DependencyProperty IndicatorStrokeProperty
Field Value
DependencyProperty
IndicatorThicknessProperty
Identifies the IndicatorThickness dependency property.
Declaration
public static readonly DependencyProperty IndicatorThicknessProperty
Field Value
DependencyProperty
SecondaryIndicatorFillProperty
Identifies the SecondaryIndicatorFill dependency property.
Declaration
public static readonly DependencyProperty SecondaryIndicatorFillProperty
Field Value
DependencyProperty
SecondaryValueProperty
Identifies the SecondaryValue dependency property.
Declaration
public static readonly DependencyProperty SecondaryValueProperty
Field Value
DependencyProperty
SegmentsDensityProperty
Identifies the SegmentsDensity dependency property.
Declaration
public static readonly DependencyProperty SegmentsDensityProperty
Field Value
DependencyProperty
SegmentsProperty
Identifies the Segments dependency property.
Declaration
public static readonly DependencyProperty SegmentsProperty
Field Value
DependencyProperty
StartAngleProperty
Identifies the StartAngle dependency property.
Declaration
public static readonly DependencyProperty StartAngleProperty
Field Value
DependencyProperty
TrackEndRadiusProperty
Identifies the TrackEndRadius dependency property.
Declaration
public static readonly DependencyProperty TrackEndRadiusProperty
Field Value
DependencyProperty
TrackFillProperty
Identifies the TrackFill dependency property.
Declaration
public static readonly DependencyProperty TrackFillProperty
Field Value
DependencyProperty
TrackStartRadiusProperty
Identifies the TrackStartRadius dependency property.
Declaration
public static readonly DependencyProperty TrackStartRadiusProperty
Field Value
DependencyProperty
UseRoundedSegmentsProperty
Identifies the UseRoundedSegments dependency property.
Declaration
public static readonly DependencyProperty UseRoundedSegmentsProperty
Field Value
DependencyProperty
Properties
ColorRanges
Gets the list of range color definitions of the progress bar.
Declaration
public ObservableCollection<ProgressBarColorRange> ColorRanges { get; }
Property Value
EndAngle
Gets or sets a value indicating the end angle of the progress track and indicator in degrees. Default value is 360.
IndeterminateIndicatorRatio
Gets or sets the ratio of the indicator part which will be animated when the control is in indeterminate state.
Declaration
public double IndeterminateIndicatorRatio { get; set; }
Property Value
IndicatorEndRadius
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.
IndicatorFill
Gets or sets the fill of the indicator.
Declaration
public Brush IndicatorFill { get; set; }
Property Value
Brush
IndicatorStartRadius
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.
Declaration
public double IndicatorStartRadius { get; set; }
Property Value
IndicatorStroke
Gets or sets the stroke of the indicator.
Declaration
public Brush IndicatorStroke { get; set; }
Property Value
Brush
IndicatorThickness
Gets or sets the stroke thickness of the indicator.
SecondaryIndicatorFill
Gets or sets the fill of the secondary indicator.
Declaration
public Brush SecondaryIndicatorFill { get; set; }
Property Value
Brush
SecondaryValue
Gets or sets the value visualized by the secondary indicator.
Segments
Gets or sets the number of segments.
SegmentsDensity
Gets or sets the density of the segments. It is value in range [0-1] with a default value of 0.95.
StartAngle
Gets or sets a value indicating the start angle of the progress track and indicator in degrees. Default value is 0.
TrackEndRadius
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.
TrackFill
Gets or sets the fill of the track.
Declaration
public Brush TrackFill { get; set; }
Property Value
Brush
TrackStartRadius
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.
UseRoundedSegments
Gets or sets a value indicating whether the segments are rounded. Default value is false.
Methods
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
constraint
Size
Returns
Size
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
OnRenderSizeChanged(SizeChangedInfo)
Declaration
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
Parameters
sizeInfo
SizeChangedInfo
OnValueChanged(double, double)
Raises the routed event.