Я пытаюсь создать приложение с интерфейсом с вкладками. На данный момент у меня есть такой интерфейс
с этим кодом
<Window x:Class="BMG.BackOffice.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="572" Width="776">
<TabControl>
<TabItem>
<TabItem.Header>
<TextBlock>
tab1
</TextBlock>
</TabItem.Header>
<Label>Test for tab1</Label>
</TabItem>
<TabItem>
<TabItem.Header>
<TextBlock>
tab2
</TextBlock>
</TabItem.Header>
</TabItem>
<TabItem>
<TabItem.Header>
<TextBlock>
tab3
</TextBlock>
</TabItem.Header>
</TabItem>
<TabItem>
<TabItem.Header>
<TextBlock>
tab4
</TextBlock>
</TabItem.Header>
</TabItem>
</TabControl>
I have already write other windows and I wonder if is it possible to "insert" these windows in the tabs (a window for a tab). So to replace <Label>Test for tab1</Label>
by a window (.xaml file)
Спасибо за ответ