jellyfin-server/MediaBrowser.Plugins.DefaultTheme/Controls/HomePageTile.xaml

23 lines
1.2 KiB
Plaintext
Raw Normal View History

2013-02-21 01:33:05 +00:00
<controls:BaseUserControl x:Class="MediaBrowser.Plugins.DefaultTheme.Controls.HomePageTile"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:controls="clr-namespace:MediaBrowser.UI.Controls;assembly=MediaBrowser.UI.Controls"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid HorizontalAlignment="Left" Width="400" Height="225">
<Border Background="{Binding Converter={StaticResource MetroTileBackgroundConverter}}">
<Image x:Name="image" Stretch="Uniform"></Image>
</Border>
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
<Grid.Background>
<SolidColorBrush Color="#A6000000"></SolidColorBrush>
</Grid.Background>
<TextBlock Margin="10 5 0 10" Foreground="White" Text="{Binding Path=Item.Name}" TextWrapping="Wrap"></TextBlock>
</Grid>
</Grid>
</controls:BaseUserControl>