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..19f39c0 --- /dev/null +++ b/src/Semi.Avalonia.Demo/Pages/ProgressBarDemo.axaml @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + 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..783a00a --- /dev/null +++ b/src/Semi.Avalonia/Controls/ProgressBar.axaml @@ -0,0 +1,319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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..92a40c2 --- /dev/null +++ b/src/Semi.Avalonia/Themes/Light/ProgressBar.axaml @@ -0,0 +1,12 @@ + + + + 3 + + + + 600 + + + +