summaryrefslogtreecommitdiff
path: root/Juick/DataTemplates
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/DataTemplates')
-rw-r--r--Juick/DataTemplates/PostItemDataTemplate.xaml23
1 files changed, 16 insertions, 7 deletions
diff --git a/Juick/DataTemplates/PostItemDataTemplate.xaml b/Juick/DataTemplates/PostItemDataTemplate.xaml
index 4668a48..fc2cba8 100644
--- a/Juick/DataTemplates/PostItemDataTemplate.xaml
+++ b/Juick/DataTemplates/PostItemDataTemplate.xaml
@@ -1,7 +1,7 @@
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:bindings="clr-namespace:Juick.Classes"
- xmlns:usercontrols="clr-namespace:Juick.Controls"
+ xmlns:usercontrols="clr-namespace:Juick.Controls"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
<DataTemplate x:Key="PostItemDataTemplate">
@@ -18,12 +18,21 @@
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Image bindings:LowProfileImageLoader.UriSource="{Binding AvatarUri}" Grid.Row="0" Grid.Column="0" Margin="3" />
- <TextBlock Text="{Binding Username}" Grid.Row="0" Grid.Column="1"
- Margin="5,0,5,5" VerticalAlignment="Top"
- HorizontalAlignment="Left"
- FontFamily="{StaticResource PhoneFontFamilySemiLight}"
- FontSize="{StaticResource PhoneFontSizeLarge}"
- Style="{StaticResource PhoneTextAccentStyle}" />
+ <HyperlinkButton Grid.Row="0" Grid.Column="1" NavigateUri="{Binding UserfeedUri}"
+ >
+ <HyperlinkButton.Template>
+ <ControlTemplate TargetType="HyperlinkButton">
+ <TextBlock Text="{Binding Username}"
+ Margin="5,0,5,5" VerticalAlignment="Top"
+ HorizontalAlignment="Left"
+ FontFamily="{StaticResource PhoneFontFamilySemiLight}"
+ FontSize="{StaticResource PhoneFontSizeLarge}"
+ Style="{StaticResource PhoneTextAccentStyle}" />
+ </ControlTemplate>
+ </HyperlinkButton.Template>
+ </HyperlinkButton>
+
+
<usercontrols:HyperLinkRichTextBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"
TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{StaticResource PhoneForegroundBrush}"