<Grid x:Class="MyLocalModItem"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="clr-namespace:PCL;assembly="
      x:Name="PanBack" Height="44"
      RenderTransformOrigin="0.5,0.5" Background="{StaticResource ColorBrushSemiTransparent}" SnapsToDevicePixels="True">
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="6" />
        <ColumnDefinition Width="34" />
        <ColumnDefinition Width="7" />
        <ColumnDefinition Width="Auto" />
        <ColumnDefinition Width="1*" />
        <ColumnDefinition Width="4" x:Name="ColumnPaddingRight" />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
        <RowDefinition Height="1*" />
        <RowDefinition Height="17" />
        <RowDefinition Height="18" />
        <RowDefinition Height="1*" />
    </Grid.RowDefinitions>
    <!-- Logo -->
    <Border Grid.Column="1" Grid.Row="1" Grid.RowSpan="2" IsHitTestVisible="False" SnapsToDevicePixels="True" UseLayoutRounding="True" 
        HorizontalAlignment="Right" VerticalAlignment="Center" Width="34" Height="34">
        <Border.Clip>
            <RectangleGeometry Rect="0,0,34,34" RadiusX="6" RadiusY="6" />
        </Border.Clip>
        <local:MyImage x:Name="PathLogo" RenderOptions.BitmapScalingMode="HighQuality" FallbackSource="pack://application:,,,/images/Icons/NoIcon.png" />
    </Border>
    <!-- 标题 -->
    <Grid Grid.Column="3" Grid.ColumnSpan="2" Grid.Row="1" VerticalAlignment="Bottom" Margin="0,1,0,0"
                SnapsToDevicePixels="False" UseLayoutRounding="False" x:Name="PanTitle">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" x:Name="ColumnTitle" />
            <ColumnDefinition Width="Auto" x:Name="ColumnSubtitle" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="1*" x:Name="ColumnExtend" />
        </Grid.ColumnDefinitions>
        <TextBlock x:Name="LabTitle" TextTrimming="CharacterEllipsis" FontSize="14" IsHitTestVisible="False" />
        <TextBlock x:Name="LabSubtitle" Grid.Column="1" HorizontalAlignment="Left"
            TextTrimming="CharacterEllipsis" FontSize="12" IsHitTestVisible="False" 
            Foreground="{StaticResource ColorBrushGray1}" Opacity="0.4" VerticalAlignment="Bottom" Visibility="Collapsed" />
        <!-- 更新按钮 -->
        <local:MyIconButton Grid.Column="2"
            Width="21" Height="21" Margin="-2,-1.6,0,0" x:Name="BtnUpdate" Theme="Black" Opacity="0.4" Visibility="Collapsed"
            ToolTipService.Placement="Right" ToolTipService.InitialShowDelay="100" ToolTipService.VerticalOffset="-9" 
            Logo="M640 768H384l-32-32V509H213L190 454l298-298h45l298 298L810 509h-138v226z m-224-64h192V477l32-32h93L512 223 290 445H384l32 32zM352 831h320v64h-320z" />
    </Grid>
    <!-- Tag 与 详情 -->
    <StackPanel x:Name="PanTags" Grid.Row="2" Grid.Column="3" Orientation="Horizontal" VerticalAlignment="Bottom" Margin="-1,0,1,0" Visibility="Collapsed" IsHitTestVisible="False">
        <!--<Border Background="{DynamicResource ColorBrush6}" Padding="3,1" CornerRadius="3" Margin="0,0,4,0" SnapsToDevicePixels="True" UseLayoutRounding="False">
            <TextBlock Text="科技" Foreground="{DynamicResource ColorBrush2}" FontSize="11" />
        </Border>-->
    </StackPanel>
    <TextBlock x:Name="LabInfo" Grid.Row="2" Grid.Column="4" VerticalAlignment="Bottom" Margin="0,0,3,1"
               TextTrimming="CharacterEllipsis" FontSize="12" Foreground="{StaticResource ColorBrushGray4}"
               IsHitTestVisible="False" SnapsToDevicePixels="False" UseLayoutRounding="False" />
</Grid>
