1234567891011121314151617181920212223242526 |
- <UserControl x:Class="HistoryView.Controls.FileSelector.FileVertical"
- 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:local="clr-namespace:HistoryView.Controls.FileSelector"
- mc:Ignorable="d"
- x:Name="This"
- d:DesignHeight="450" d:DesignWidth="800">
- <Border >
- <Grid Margin="8">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="2"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid>
- <Image Source="{Binding ElementName=This, Path=ImageSource}" Width="40" Height="40" Margin="8"/>
- <TextBlock Panel.ZIndex="1" Foreground="{StaticResource TextColor}" Margin="0,8,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=FileType}" TextWrapping="Wrap" MaxWidth="64"/>
- </Grid>
- <TextBlock Grid.Row="2" VerticalAlignment="Top" HorizontalAlignment="Center" Text="{Binding ElementName=This, Path=FileName}" TextWrapping="Wrap" MaxWidth="64" />
- </Grid>
- </Border>
- </UserControl>
|