TabControl Sample

Inheritance of System.Windows.Controls.TabControl :

System.Object
 System.Windows.Threading.DispatcherObject
  System.Windows.DependencyObject
   System.Windows.Media.Visual
    System.Windows.UIElement
     System.Windows.FrameworkElement
      System.Windows.Controls.Control
       System.Windows.Controls.ItemsControl
        System.Windows.Controls.Primitives.Selector
         System.Windows.Controls.TabControl
  An TabControl wraps a region of content that the user can show or hide by clicking its header.


The image shows a TabControl of 3 collapsed Tabs and 1 expanded Tab.
<Page xmlns  ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Width="300">
 <TabControl Height="60">
  <TabItem Header ="Tab 1">
   <TextBlock Margin="3">TextBlock 1111 1111 1111 1111 1111 1111 1111</TextBlock>
  </TabItem>
  <TabItem Header ="Tab 2">
   <TextBlock Margin="3">TextBlock 2222 2222 2222 2222 2222 2222 2222</TextBlock>
  </TabItem>
  <TabItem Header ="Tab 3">
   <TextBlock Margin="3">TextBlock 3333 3333 3333 3333 3333 3333 3333</TextBlock>
  </TabItem>
  <TabItem Header ="Tab 4">
   <TextBlock Margin="3">TextBlock 4444 4444 4444 4444 4444 4444 4444</TextBlock>
  </TabItem>
 </TabControl>
</Page>

When you are in the Internet Explorer run TabControl.xaml and click its items !