From 2a6b472cb397e4faba7a18aa958c54935faec26e Mon Sep 17 00:00:00 2001 From: Corvin Date: Fri, 2 May 2025 21:16:26 +0200 Subject: [PATCH 01/11] added SelectedItems DP and got it to a working state, even with keeping state when collapsing items. Tests are missing --- src/MainDemo.Wpf/App.xaml | 2 +- src/MainDemo.Wpf/Domain/TreesViewModel.cs | 20 ++- src/MainDemo.Wpf/Trees.xaml | 122 ++++++++++++------- src/MaterialDesignThemes.Wpf/TreeListView.cs | 120 +++++++++++++++++- 4 files changed, 213 insertions(+), 51 deletions(-) diff --git a/src/MainDemo.Wpf/App.xaml b/src/MainDemo.Wpf/App.xaml index 78e99066d6..a5c2537ae3 100644 --- a/src/MainDemo.Wpf/App.xaml +++ b/src/MainDemo.Wpf/App.xaml @@ -22,7 +22,7 @@ If you would prefer to use your own colors, there is an option for that as well: PrimaryColor and SecondaryColor also support the constant string "Inherit" to specify the color should use the system theme accent color --> - + + + + + + +