Edit

Share via


RadialProgressBar Class

Definition

Caution

The platform ProgressRing now supports determinate mode and is part of WinUI 2.5, please upgrade to use that control: https://docs.microsoft.com/windows/apps/winui/winui2/release-notes/winui-2.5#determinate-progressring

An alternative implementation of a progress bar. Progression is represented by a loop filling up in a clockwise fashion. Like the traditional progress bar, it inherits from RangeBase, so Minimum, Maximum and Value properties work the same way.

[Microsoft.UI.Xaml.TemplatePart(Name="OutlineFigurePart", Type=typeof(Microsoft.UI.Xaml.Media.PathFigure))]
[Microsoft.UI.Xaml.TemplatePart(Name="OutlineArcPart", Type=typeof(Microsoft.UI.Xaml.Media.ArcSegment))]
[Microsoft.UI.Xaml.TemplatePart(Name="BarFigurePart", Type=typeof(Microsoft.UI.Xaml.Media.PathFigure))]
[Microsoft.UI.Xaml.TemplatePart(Name="BarArcPart", Type=typeof(Microsoft.UI.Xaml.Media.ArcSegment))]
[System.Obsolete("The platform ProgressRing now supports determinate mode and is part of WinUI 2.5, please upgrade to use that control: https://docs.microsoft.com/windows/apps/winui/winui2/release-notes/winui-2.5#determinate-progressring")]
public class RadialProgressBar : Microsoft.UI.Xaml.Controls.ProgressBar
[<Microsoft.UI.Xaml.TemplatePart(Name="OutlineFigurePart", Type=typeof(Microsoft.UI.Xaml.Media.PathFigure))>]
[<Microsoft.UI.Xaml.TemplatePart(Name="OutlineArcPart", Type=typeof(Microsoft.UI.Xaml.Media.ArcSegment))>]
[<Microsoft.UI.Xaml.TemplatePart(Name="BarFigurePart", Type=typeof(Microsoft.UI.Xaml.Media.PathFigure))>]
[<Microsoft.UI.Xaml.TemplatePart(Name="BarArcPart", Type=typeof(Microsoft.UI.Xaml.Media.ArcSegment))>]
[<System.Obsolete("The platform ProgressRing now supports determinate mode and is part of WinUI 2.5, please upgrade to use that control: https://docs.microsoft.com/windows/apps/winui/winui2/release-notes/winui-2.5#determinate-progressring")>]
type RadialProgressBar = class
    inherit ProgressBar
Public Class RadialProgressBar
Inherits ProgressBar
Inheritance
Microsoft.UI.Xaml.Controls.ProgressBar
RadialProgressBar
Attributes
Microsoft.UI.Xaml.TemplatePartAttribute ObsoleteAttribute

Constructors

RadialProgressBar()

Initializes a new instance of the RadialProgressBar class. Create a default circular progress bar

Fields

OutlineProperty

Identifies the Outline dependency property

ThicknessProperty

Identifies the Thickness dependency property

Properties

Outline

Gets or sets the color of the circular outline on which the segment is drawn

Thickness

Gets or sets the thickness of the circular outline and segment

Methods

OnApplyTemplate()

Update the visual state of the control when its template is changed.

OnMaximumChanged(Double, Double)

Called when the Maximum property changes.

OnMinimumChanged(Double, Double)

Called when the Minimum property changes.

OnValueChanged(Double, Double)

Called when the Value property changes.

Applies to