Skip to content

Templated Control library which adds new customizable WinUI progress ring for FluentAvalonia Package

License

Notifications You must be signed in to change notification settings

ymg2006/FluentAvalonia.ProgressRing

Repository files navigation

FluentAvalonia.ProgressRing

Templated Control library which adds new customizable WinUI progress ring for FluentAvalonia Package Usage:

Download package from nuget and reference.

<!-- in App.axaml -->
<!-- Define xmlns:sty="using:FluentAvalonia.Styling" -->

<Application.Styles>
  <sty:FluentAvaloniaTheme />
  <StyleInclude Source="avares://FluentAvalonia.ProgressRing/Styling/Controls/ProgressRing.axaml" />
</Application.Styles>

Examlpe:

<!-- Define xmlns:ui="using:FluentAvalonia.UI.Controls" -->

<StackPanel>
  <Border Padding="20">
    <ui:ProgressRing StartAngle="90" EndAngle="270" Value="50" Foreground="Red" BorderThickness="5" Width="100" Height="100" />
  </Border>
  <Border Padding="20">
    <ui:ProgressRing IsIndeterminate="True" BorderThickness="10" Width="100" Height="100" />
  </Border>
</StackPanel>

Output:

Light Dark

Seems that there is a glitch in output but its only a gif repetition, the control's animation is smooth.

About

Templated Control library which adds new customizable WinUI progress ring for FluentAvalonia Package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages