From c515862cf9c67ccc064cff9d1afd792cadb64767 Mon Sep 17 00:00:00 2001 From: Ben Dean Date: Thu, 2 May 2013 17:06:52 +0100 Subject: [PATCH] Fixed IsEnabled not working. Changed the control template TargetType to textbox as that is what is being used at the as the read only control. Example also added to the examples project. --- .../Themes/WatermarkTextBox.xaml | 260 ++++++++--------- src/ExampleApp.WP7/MainPage.xaml | 262 +++++++++--------- src/ExampleApp.WP7/MainPage.xaml.cs | 117 ++++---- src/ExampleApp.WP7/MainPageViewModel.cs | 202 +++++++------- 4 files changed, 434 insertions(+), 407 deletions(-) diff --git a/src/CS.Windows.Controls.WP7/Themes/WatermarkTextBox.xaml b/src/CS.Windows.Controls.WP7/Themes/WatermarkTextBox.xaml index 86f9291..4c107e8 100644 --- a/src/CS.Windows.Controls.WP7/Themes/WatermarkTextBox.xaml +++ b/src/CS.Windows.Controls.WP7/Themes/WatermarkTextBox.xaml @@ -1,131 +1,131 @@ - - - - - - - - - - - - - - - - - - - - - - - - Collapsed - - - - - - - Visible - - - - - - - - - - - Collapsed - - - - - - - Visible - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + Collapsed + + + + + + + Visible + + + + + + + + + + + Collapsed + + + + + + + Visible + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ExampleApp.WP7/MainPage.xaml b/src/ExampleApp.WP7/MainPage.xaml index 896bec3..009c1c4 100644 --- a/src/ExampleApp.WP7/MainPage.xaml +++ b/src/ExampleApp.WP7/MainPage.xaml @@ -1,129 +1,135 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +