From 79744525ee288f18e2d4086b245a431b2c764d48 Mon Sep 17 00:00:00 2001 From: Jan Karger Date: Wed, 19 Apr 2017 16:27:33 +0200 Subject: [PATCH] Adopt SpellCheck.IsEnabled changes from MaterialDesignInXamlToolkit @ButchersBoy #650 Removes the extra hidden classes and enables flexible style changes, it's more WPF now --- .../ExampleViews/TextExamples.xaml | 8 +- .../Controls/Helper/TextBoxHelper.cs | 134 +++++++++++------- .../Styles/Controls.ContextMenu.xaml | 30 +++- .../Styles/Controls.TextBox.xaml | 2 + 4 files changed, 115 insertions(+), 59 deletions(-) diff --git a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/MahApps.Metro.Demo.Shared/ExampleViews/TextExamples.xaml b/src/MahApps.Metro.Samples/MahApps.Metro.Demo/MahApps.Metro.Demo.Shared/ExampleViews/TextExamples.xaml index f99dfb985b..2a3a681290 100644 --- a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/MahApps.Metro.Demo.Shared/ExampleViews/TextExamples.xaml +++ b/src/MahApps.Metro.Samples/MahApps.Metro.Demo/MahApps.Metro.Demo.Shared/ExampleViews/TextExamples.xaml @@ -34,7 +34,7 @@ Margin="{StaticResource ColumnMargin}">