From 9ebeb7ad4b0ff3d0228fa01e2defec863f93013c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20B=C3=B6rchers?= Date: Sat, 29 Feb 2020 21:05:24 +0100 Subject: [PATCH] Strange behavior with styles --- App.xaml | 16 ++++++++++++++++ MainWindow.xaml | 8 +++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/App.xaml b/App.xaml index 9d987c4..0a3a638 100644 --- a/App.xaml +++ b/App.xaml @@ -3,11 +3,27 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:ModernWpfPlayground" + xmlns:propertyPresenter2="clr-namespace:ModernWpfPlayground.PropertyPresenter2" xmlns:ui="http://schemas.modernwpf.com/2019" StartupUri="MainWindow.xaml"> + diff --git a/MainWindow.xaml b/MainWindow.xaml index b51e047..a043338 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -227,9 +227,14 @@ Symbol="x³" Value="{Binding WelcomeMessage}" /> + Value="{Binding ValidationTest, UpdateSourceTrigger=PropertyChanged}" /> + +