We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fbcda1 commit 896c299Copy full SHA for 896c299
dev/DevWinUI.Controls/Controls/Native/Progress/ArcProgress/ArcProgress.cs
@@ -22,7 +22,7 @@ public partial class ArcProgress : Control
22
private double _radius;
23
private double _centerX;
24
private double _centerY;
25
-
+ public event EventHandler PercentageChanged;
26
public ArcProgressInitialPosition InitialPosition
27
{
28
get { return (ArcProgressInitialPosition)GetValue(InitialPositionProperty); }
@@ -188,6 +188,7 @@ public void DrawArcProgress(double percentage)
188
189
double angle = Math.Min(Math.Max(percentage, 0), 100) * 3.6;
190
DrawArcSlice(angle);
191
+ PercentageChanged?.Invoke(this, null);
192
}
193
194
public void DrawArcSlice(double angle)
0 commit comments