当前位置: 移动技术网 > IT编程>开发语言>.net > WPF文字间距

WPF文字间距

2018年01月01日  | 移动技术网IT编程  | 我要评论

包玉婷与林紫薇,田向利背景,马竞女神惊艳私房照

代码:

<ItemsControl ItemsSource="{Binding Info}" FontFamily="微软雅黑" FontSize="12" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center">
    <ItemsControl.ItemsPanel>
        <ItemsPanelTemplate>
            <StackPanel Orientation="Horizontal"/>
        </ItemsPanelTemplate>
    </ItemsControl.ItemsPanel>
    <ItemsControl.ItemTemplate>
        <DataTemplate>
            <Border Margin="1">
                <ContentPresenter Content="{Binding}"/>
            </Border>
        </DataTemplate>
    </ItemsControl.ItemTemplate>
</ItemsControl>
View Code

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网