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.

[Windows.UI.Xaml.TemplatePart(Name="OutlineFigurePart", Type=typeof(Windows.UI.Xaml.Media.PathFigure))]
[Windows.UI.Xaml.TemplatePart(Name="OutlineArcPart", Type=typeof(Windows.UI.Xaml.Media.ArcSegment))]
[Windows.UI.Xaml.TemplatePart(Name="BarFigurePart", Type=typeof(Windows.UI.Xaml.Media.PathFigure))]
[Windows.UI.Xaml.TemplatePart(Name="BarArcPart", Type=typeof(Windows.UI.Xaml.Media.ArcSegment))]
public class RadialProgressBar : Windows.UI.Xaml.Controls.ProgressBar
[Windows.UI.Xaml.TemplatePart(Name="OutlineFigurePart", Type=typeof(Windows.UI.Xaml.Media.PathFigure))]
[Windows.UI.Xaml.TemplatePart(Name="OutlineArcPart", Type=typeof(Windows.UI.Xaml.Media.ArcSegment))]
[Windows.UI.Xaml.TemplatePart(Name="BarFigurePart", Type=typeof(Windows.UI.Xaml.Media.PathFigure))]
[Windows.UI.Xaml.TemplatePart(Name="BarArcPart", Type=typeof(Windows.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 : Windows.UI.Xaml.Controls.ProgressBar
[<Windows.UI.Xaml.TemplatePart(Name="OutlineFigurePart", Type=typeof(Windows.UI.Xaml.Media.PathFigure))>]
[<Windows.UI.Xaml.TemplatePart(Name="OutlineArcPart", Type=typeof(Windows.UI.Xaml.Media.ArcSegment))>]
[<Windows.UI.Xaml.TemplatePart(Name="BarFigurePart", Type=typeof(Windows.UI.Xaml.Media.PathFigure))>]
[<Windows.UI.Xaml.TemplatePart(Name="BarArcPart", Type=typeof(Windows.UI.Xaml.Media.ArcSegment))>]
type RadialProgressBar = class
    inherit ProgressBar
[<Windows.UI.Xaml.TemplatePart(Name="OutlineFigurePart", Type=typeof(Windows.UI.Xaml.Media.PathFigure))>]
[<Windows.UI.Xaml.TemplatePart(Name="OutlineArcPart", Type=typeof(Windows.UI.Xaml.Media.ArcSegment))>]
[<Windows.UI.Xaml.TemplatePart(Name="BarFigurePart", Type=typeof(Windows.UI.Xaml.Media.PathFigure))>]
[<Windows.UI.Xaml.TemplatePart(Name="BarArcPart", Type=typeof(Windows.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
Windows.UI.Xaml.Controls.ProgressBar
RadialProgressBar
Attributes
Windows.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