<Window x:Class="WPF控件.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Title="WPF控件" Height="450" Width="800">
    <StackPanel>
        <WrapPanel>
            <Button Name="Cmd" Padding="15 5">Cmd</Button>

            <Button Name="TestButton" Padding="15 5">
                <Button.Background>
                    <SolidColorBrush Color="Red" />
                </Button.Background>
                测试按钮
            </Button>

            <Button Padding="15 5" Background="#ff00ff">测四按钮</Button>

            <Button Name="TestButton2" Padding="15 5" FontFamily="Times New Roman" FontSize="18">一个按钮</Button>

            <Button FontFamily="Times New Roman Bold">一个按钮</Button>

            <TextBlock TextDecorations="Underline">下划线。。。。</TextBlock>
        </WrapPanel>

        <TextBlock FontSize="12" TextOptions.TextFormattingMode="Display">
            TextOptions.TextFormattingMode="Display"用于显示尺寸小显示模糊的问题
        </TextBlock>

        <ListBox Name="ListBox" Height="300" />


    </StackPanel>
</Window>