diff --git a/src/Semi.Avalonia.Demo/MainWindow.axaml b/src/Semi.Avalonia.Demo/MainWindow.axaml index 8ab668d..2b3c127 100644 --- a/src/Semi.Avalonia.Demo/MainWindow.axaml +++ b/src/Semi.Avalonia.Demo/MainWindow.axaml @@ -41,5 +41,8 @@ + + + diff --git a/src/Semi.Avalonia.Demo/Pages/ListBoxItem.axaml b/src/Semi.Avalonia.Demo/Pages/ListBoxItem.axaml new file mode 100644 index 0000000..cd04275 --- /dev/null +++ b/src/Semi.Avalonia.Demo/Pages/ListBoxItem.axaml @@ -0,0 +1,21 @@ + + + Item 1 + Item 2 + Item 3 + Item 4 + Item 5 + Item 6 + Item 7 + Item 8 + Item 9 + Item 10 + Item 11 + Item 12 + Item 13 + + diff --git a/src/Semi.Avalonia.Demo/Pages/ListBoxItem.axaml.cs b/src/Semi.Avalonia.Demo/Pages/ListBoxItem.axaml.cs new file mode 100644 index 0000000..8cad46f --- /dev/null +++ b/src/Semi.Avalonia.Demo/Pages/ListBoxItem.axaml.cs @@ -0,0 +1,18 @@ +using Avalonia; +using Avalonia.Controls; +using Avalonia.Markup.Xaml; + +namespace Semi.Avalonia.Demo.Pages; + +public partial class ListBoxItem : UserControl +{ + public ListBoxItem() + { + 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 db08b35..512673b 100644 --- a/src/Semi.Avalonia/Controls/Controls.axaml +++ b/src/Semi.Avalonia/Controls/Controls.axaml @@ -6,6 +6,7 @@ + diff --git a/src/Semi.Avalonia/Controls/ListBox.axaml b/src/Semi.Avalonia/Controls/ListBox.axaml new file mode 100644 index 0000000..8159474 --- /dev/null +++ b/src/Semi.Avalonia/Controls/ListBox.axaml @@ -0,0 +1,88 @@ + + + + Item 1 + Item 2 + Item 3 + Item 3 + Item 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Semi.Avalonia/Themes/Light/Light.axaml b/src/Semi.Avalonia/Themes/Light/Light.axaml index 163188d..53c60ac 100644 --- a/src/Semi.Avalonia/Themes/Light/Light.axaml +++ b/src/Semi.Avalonia/Themes/Light/Light.axaml @@ -7,6 +7,7 @@ + diff --git a/src/Semi.Avalonia/Themes/Light/ListBox.axaml b/src/Semi.Avalonia/Themes/Light/ListBox.axaml new file mode 100644 index 0000000..9015aab --- /dev/null +++ b/src/Semi.Avalonia/Themes/Light/ListBox.axaml @@ -0,0 +1,19 @@ + + + 8 4 + + + + + + + + + + + + + + 3 + +