If I simple add another tab and place the exact same content on the second tab it works fine.
I checked the showcase page and unfortunately the "View/Hide Source" for the tab example is not included as it is for most other controls.
Here is an example
Code: Select all
<TabControl>
<TabItem Header="Tab 1" Visibility="Visible">
<Grid Visibility="Visible">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
</Grid.RowDefinitions>
<Rectangle Fill="Green" Grid.Column="0" Grid.Row="0" />
<Rectangle Fill="Red" Grid.Column="1" Grid.Row="0" />
</Grid>
</TabItem>
<TabItem Header="Tab 2" Visibility="Visible">
<Grid Visibility="Visible">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
</Grid.RowDefinitions>
<Rectangle Fill="Yellow" Grid.Column="0" Grid.Row="0" />
<Rectangle Fill="Orange" Grid.Column="1" Grid.Row="0" />
</Grid>
</TabItem>
</TabControl>