title: tab of TabControl at the bottom in WPF
body: <p>I use WPF (C #).</p>
  
  <p>I want to tab TabControls were located at the bottom. For this I use the property: <strong>TabStripPlacement="Bottom"</strong>.</p>
  
  <p>However, the this property does not work because of my style:</p>
  
  <pre><code>&lt;Grid&gt;
   &lt;Grid.Resources&gt;
     &lt;Style TargetType="{x:Type TabControl}"&gt;
       &lt;Setter Property="Template"&gt;
         &lt;Setter.Value&gt;
           &lt;ControlTemplate TargetType="{x:Type TabControl}"&gt;
             &lt;Grid KeyboardNavigation.TabNavigation="Local"&gt;
               &lt;Grid.RowDefinitions&gt;
                  &lt;RowDefinition Height="Auto"/&gt;
                  &lt;RowDefinition Height="Auto"/&gt;
               &lt;/Grid.RowDefinitions&gt;
  
               &lt;TabPanel IsItemsHost="True" /&gt;
               &lt;ContentPresenter Grid.Row="1" ContentSource="SelectedContent"/&gt;
             &lt;/Grid&gt;
            &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;
        &lt;/Setter&gt;
     &lt;/Style&gt;
   &lt;/Grid.Resources&gt;
  
   &lt;TabControl TabStripPlacement="Bottom" &gt;
       &lt;TabItem Header="tab1"&gt;fff&lt;/TabItem&gt;
       &lt;TabItem Header="tab2"&gt;&lt;/TabItem&gt;
       &lt;TabItem Header="tab3"&gt;&lt;/TabItem&gt;
   &lt;/TabControl&gt;
  
  &lt;/Grid&gt;
  </code></pre>
  
  <p>Please tell me, <strong>How can I fix</strong> that <strong>tabs TabControls</strong> located <strong>at the bottom</strong>?</p>