<Window.Resources>
<Style x:Key="newTabControl" TargetType="TabControl">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TabControl}">
<Grid Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Border BorderBrush="Transparent" BorderThickness="0 0 0 0">
<UniformGrid Rows="1" IsItemsHost="True"></UniformGrid>
</Border>
<Border Grid.Row="1"
BorderBrush="Transparent"
Padding="0"
BorderThickness="0" Background="{TemplateBinding Background}">
<ContentPresenter ContentSource="SelectedContent" Name="PART_SelectedContentHost"/>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>