<DataTemplate x:Key="Standard250x250ItemTemplate">
        <Grid HorizontalAlignment="Center" Width="250" Height="250">
            <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}">
                <Image Source="{Binding Image}" Stretch="UniformToFill"/>
            </Border>
            <StackPanel VerticalAlignment="Bottom" Background="{StaticResource ListViewItemOverlayBackgroundThemeBrush}" Height="60" >
                <TextBlock Text="{Binding Title}" HorizontalAlignment="Center" Foreground="{StaticResource ListViewItemOverlayForegroundThemeBrush}" Style="{StaticResource TitleTextStyle_1}" Margin="15,20,15,10"/>
                <!--<TextBlock Text="{Binding Subtitle}" Foreground="{StaticResource ListViewItemOverlaySecondaryForegroundThemeBrush}" Style="{StaticResource CaptionTextStyle}" TextWrapping="NoWrap" Margin="15,0,15,10"/>-->
            </StackPanel>
        </Grid>
    </DataTemplate>





<Style x:Key="TitleTextStyle_1" TargetType="TextBlock" BasedOn="{StaticResource BaselineTextStyle}">
        <Setter Property="FontWeight" Value="SemiBold"/>
        <Setter Property="FontFamily" Value="楷体"/>
        <Setter Property="FontSize" Value="35"/>
    </Style>



       ItemTemplate="{StaticResource Standard250x250ItemTemplate}"

  

相关文章:

  • 2021-11-11
  • 2021-06-07
  • 2021-10-12
  • 2021-10-06
  • 2021-08-09
  • 2022-03-04
猜你喜欢
  • 2021-07-01
  • 2021-12-28
  • 2021-06-11
  • 2022-12-23
  • 2021-09-07
  • 2021-11-28
相关资源
相似解决方案