Created
August 24, 2013 13:39
-
-
Save christiannagel/6328189 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<GridView.ItemTemplate> | |
<DataTemplate> | |
<Grid HorizontalAlignment="Left" Width="250" Height="250"> | |
<Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}"> | |
<Image Source="{Binding ImagePath}" Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}"/> | |
</Border> | |
<StackPanel VerticalAlignment="Bottom" Background="{StaticResource ListViewItemOverlayBackgroundThemeBrush}"> | |
<TextBlock Text="{Binding Title}" Foreground="{StaticResource ListViewItemOverlayForegroundThemeBrush}" Style="{StaticResource TitleTextBlockStyle}" Height="60" Margin="15,0,15,0"/> | |
<TextBlock Text="{Binding Subtitle}" Foreground="{StaticResource ListViewItemOverlaySecondaryForegroundThemeBrush}" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap" Margin="15,0,15,10"/> | |
</StackPanel> | |
</Grid> | |
</DataTemplate> | |
</GridView.ItemTemplate> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment