diff --git a/src/Semi.Avalonia.Demo/MainWindow.axaml b/src/Semi.Avalonia.Demo/MainWindow.axaml index 6527bb7..a7b2a3f 100644 --- a/src/Semi.Avalonia.Demo/MainWindow.axaml +++ b/src/Semi.Avalonia.Demo/MainWindow.axaml @@ -46,6 +46,9 @@ + + + diff --git a/src/Semi.Avalonia.Demo/Pages/ProgressBarDemo.axaml b/src/Semi.Avalonia.Demo/Pages/ProgressBarDemo.axaml new file mode 100644 index 0000000..692d649 --- /dev/null +++ b/src/Semi.Avalonia.Demo/Pages/ProgressBarDemo.axaml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + diff --git a/src/Semi.Avalonia.Demo/Pages/ProgressBarDemo.axaml.cs b/src/Semi.Avalonia.Demo/Pages/ProgressBarDemo.axaml.cs new file mode 100644 index 0000000..54f8165 --- /dev/null +++ b/src/Semi.Avalonia.Demo/Pages/ProgressBarDemo.axaml.cs @@ -0,0 +1,18 @@ +using Avalonia; +using Avalonia.Controls; +using Avalonia.Markup.Xaml; + +namespace Semi.Avalonia.Demo.Pages; + +public partial class ProgressBarDemo : UserControl +{ + public ProgressBarDemo() + { + InitializeComponent(); + } + + private void InitializeComponent() + { + AvaloniaXamlLoader.Load(this); + } +} \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/Controls.axaml b/src/Semi.Avalonia/Controls/Controls.axaml index f604a23..925e022 100644 --- a/src/Semi.Avalonia/Controls/Controls.axaml +++ b/src/Semi.Avalonia/Controls/Controls.axaml @@ -15,6 +15,7 @@ + diff --git a/src/Semi.Avalonia/Controls/ProgressBar.axaml b/src/Semi.Avalonia/Controls/ProgressBar.axaml new file mode 100644 index 0000000..4fae4cc --- /dev/null +++ b/src/Semi.Avalonia/Controls/ProgressBar.axaml @@ -0,0 +1,310 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Semi.Avalonia/Themes/Light/Light.axaml b/src/Semi.Avalonia/Themes/Light/Light.axaml index be1249f..e3becb9 100644 --- a/src/Semi.Avalonia/Themes/Light/Light.axaml +++ b/src/Semi.Avalonia/Themes/Light/Light.axaml @@ -11,6 +11,7 @@ + diff --git a/src/Semi.Avalonia/Themes/Light/ProgressBar.axaml b/src/Semi.Avalonia/Themes/Light/ProgressBar.axaml new file mode 100644 index 0000000..306bebc --- /dev/null +++ b/src/Semi.Avalonia/Themes/Light/ProgressBar.axaml @@ -0,0 +1,8 @@ + + + + 3 + + + +