From edef9894af198da690c0381bf43d4dafddf16f0d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 1 Feb 2013 04:13:36 +0400 Subject: replace RichTextBox and Attached Property with subclassed RichTextBox and plain Dependency Property. Somehow fixes #11 --- Juick/MainPage.xaml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'Juick/MainPage.xaml') diff --git a/Juick/MainPage.xaml b/Juick/MainPage.xaml index bffd94f..ded6d33 100644 --- a/Juick/MainPage.xaml +++ b/Juick/MainPage.xaml @@ -7,7 +7,7 @@ xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:bindings="clr-namespace:Juick.Classes" + xmlns:bindings="clr-namespace:Juick.Classes" xmlns:controls1="clr-namespace:Juick.Controls" mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="728" d:DataContext="{d:DesignData SampleData/MainViewModelSampleData.xaml}" FontFamily="{StaticResource PhoneFontFamilyNormal}" @@ -15,12 +15,7 @@ Foreground="{StaticResource PhoneForegroundBrush}" SupportedOrientations="PortraitOrLandscape" Orientation="Portrait" phoneshell:SystemTray.IsVisible="True"> - - - - - - + @@ -80,13 +75,11 @@ FontSize="{StaticResource PhoneFontSizeLarge}" Style="{StaticResource PhoneTextAccentStyle}" /> - - - + IsReadOnly="True" Text="{Binding MessageText}" /> - - - + IsReadOnly="True" Text="{Binding MessageText}" />