summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2012-10-02 10:01:08 +0400
committerGravatar Vitaly Takmazov2012-10-02 10:01:08 +0400
commite1d7d5bb92d761d211077fd3b0b6922fc6314423 (patch)
tree69b0dc25f668a4c41170aa8954396314db87c57d /Juick
parent2edd605343e167dee0eb81b9ab0f4d8368ff7ac4 (diff)
Richtext in Last messages
Diffstat (limited to 'Juick')
-rw-r--r--Juick/MainPage.xaml12
1 files changed, 7 insertions, 5 deletions
diff --git a/Juick/MainPage.xaml b/Juick/MainPage.xaml
index bd446ed..4b0c537 100644
--- a/Juick/MainPage.xaml
+++ b/Juick/MainPage.xaml
@@ -108,11 +108,13 @@
FontFamily="{StaticResource PhoneFontFamilySemiLight}"
FontSize="{StaticResource PhoneFontSizeLarge}"
Style="{StaticResource PhoneTextAccentStyle}" />
- <TextBlock Text="{Binding MessageText}" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"
- Foreground="{StaticResource PhoneForegroundBrush}"
- Style="{StaticResource PhoneTextNormalStyle}"
- Margin="5,0,5,5" VerticalAlignment="Top"
- TextWrapping="Wrap" HorizontalAlignment="Left"/>
+ <RichTextBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"
+ TextWrapping="Wrap" HorizontalAlignment="Left"
+ Foreground="{StaticResource PhoneForegroundBrush}"
+ Margin="5,0,5,5" VerticalAlignment="Top"
+ IsReadOnly="True">
+ <Paragraph bindings:ParagraphBindingBehavior.AssignedInlines="{Binding MessageText, Converter={StaticResource inlineConverter}}" />
+ </RichTextBox>
<Image Source="{Binding Attachment}" Grid.Row="2" Grid.Column="0" Margin="3" Grid.ColumnSpan="2" />
<TextBlock Text="{Binding Status}" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2"
Foreground="{StaticResource PhoneForegroundBrush}"