From 59fe84a53f303ef8212c26896b18da6402f6c45f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20B=C3=B6rchers?= Date: Thu, 9 Apr 2020 21:57:49 +0200 Subject: [PATCH] added theme mode to view and object accessor for setting properties --- MainWindow.xaml | 4 ++-- ModernWpfPlayground.csproj | 3 ++- MvvmStuff/BaseViewModel.cs | 10 ++++++++-- MvvmStuff/PropertyInfoExtension.cs | 19 ++++++++----------- ThemeMode.cs | 11 +++++++++++ WindowViewModel.cs | 23 +++++++++++++++++++---- 6 files changed, 50 insertions(+), 20 deletions(-) create mode 100644 ThemeMode.cs diff --git a/MainWindow.xaml b/MainWindow.xaml index b4cced2..b5a23bf 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -39,7 +39,7 @@