123456789101112131415161718192021 |
- <UserControl x:Class="PDF_Office.Views.HomePanel.RecentFiles.DocItemControl"
- 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:PDF_Office.Views.HomePanel"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <Grid Height="272" Width="230" Loaded="Grid_Loaded" DataContext="{Binding}" ToolTip="{Binding FilePath}">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition />
- </Grid.RowDefinitions>
- <Image Name="CoverImage" Width="136" Height="176" Margin="4" RenderOptions.BitmapScalingMode="HighQuality" UseLayoutRounding="True"/>
- <TextBlock Grid.Row="1"
- FontSize="14" MaxWidth="136" TextTrimming="CharacterEllipsis"
- ToolTip="{Binding FileName}" Text="{Binding FileName}"
- VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Grid>
-
- </UserControl>
|