<Window x:Class="WPF控件_10_TabItem.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"
        Icon="public/003540AH4M72.jpg"
        mc:Ignorable="d"
        Title="WPF控件_10_TabItem" Height="450" Width="800">
    <TabControl Margin="5">
        <TabItem Header="Tab One">
            <StackPanel Margin="3">
                <CheckBox Margin="3">Setting One</CheckBox>
                <CheckBox Margin="3">Setting Two</CheckBox>
                <CheckBox Margin="3">Setting Three</CheckBox>
            </StackPanel>
        </TabItem>

        <TabItem Header="Tab Two">
            <StackPanel Margin="3">
                <CheckBox Margin="3">Tab Two One</CheckBox>
                <CheckBox Margin="3">Tab Two Two</CheckBox>
                <CheckBox Margin="3">Tab Two Three</CheckBox>
            </StackPanel>
        </TabItem>

        <TabItem Header="Tab Three">
            <TabItem>
                <TabItem.Header>
                    <StackPanel>
                        <TextBlock Margin="3">Image and text Tab Title</TextBlock>
                        <Image Source="public/003540AH4M72.jpg" Width="50" />
                    </StackPanel>
                </TabItem.Header>
            </TabItem>
        </TabItem>
    </TabControl>
</Window>