<UserControl x:Class="ApSilverlight.SilverlightTabControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    Width="400" Height="300" >

  <Grid x:Name="LayoutRoot" Background="White">
    <sdk:TabControl Name="tabControl1" SelectionChanged="tabControl1_SelectionChanged">
      <sdk:TabItem Name="tabItem1">
        <sdk:TabItem.Header>
          <StackPanel Orientation="Horizontal">
            <TextBlock Margin="3" Text="Página 1"/>
            <Image Source="/ApSilverlight;component/Imagenes/smile.jpg" Height="16" />
          </StackPanel>
        </sdk:TabItem.Header>
        <StackPanel Margin="3">
          <CheckBox Name="cb1" Margin="3" Content="Opción 1" />
          <CheckBox Name="cb2" Margin="3" Content="Opción 2" />
          <CheckBox Name="cb3" Margin="3" Content="Opción 3" />
          <Button Name="bt1" Content="Botón 1" Click="bt1_Click" />
        </StackPanel>
      </sdk:TabItem>
      <sdk:TabItem Header="Página 2">
        <StackPanel Margin="3">
          <CheckBox Name="cb4" Margin="3" Content="Opción 4" />
          <CheckBox Name="cb5" Margin="3" Content="Opción 5" />
          <CheckBox Name="cb6" Margin="3" Content="Opción 6" />
          <Button Name="bt2" Content="Botón 2" Click="bt2_Click" />
        </StackPanel>
      </sdk:TabItem>
    </sdk:TabControl>
  </Grid>
</UserControl>
