Adding item to tab control in VS 2008 WPF app
I am bit of a newbie to WPF. I am using VS 2008 and working with a WPF app.
With the design editor I add a Tab control and then add a new tab. I drop an item like a button onto the the tab control. But instead of actually being in the individual tab the item is almost modal on top of the control.
What am I doing wrong or need to do different?
Edit: Here is example of what XAML is created.
<Window x:Class="TestApp.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid>
<TextBox Height="23" Margin="87,80,71,0" Name="textBox1" VerticalAlignment="Top" />
<TabControl Margin="8,29,1,64" Name="tabControl1">
<TabItem />
<TabItem />
<TabItem />
</TabControl>
</Grid>
</Window>