<Window x:Class="WPF_Forschung_PDF_ComponentOne.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WPF_Forschung_PDF_ComponentOne"
        xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
        mc:Ignorable="d"
        Title="ComponentOne PDF-Viewer" Height="850" Width="1200">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <Button x:Name="btn1" Content="Show/hide 1" Click="btn1_Click"/>
            <Button x:Name="btn2" Content="Show/hide 2" Click="btn2_Click"/>
            <Button x:Name="btn3" Content="Show/hide 3" Click="btn3_Click"/>
        </StackPanel>
        <TabControl Grid.Row="1">
            <TabItem x:Name="tab1" Header="Tab 1">
                <local:UserControl1 />
            </TabItem>
            <TabItem x:Name="tab2" Header="Tab 2">
                <local:UserControl1 />
            </TabItem>
            <TabItem x:Name="tab3" Header="Tab 3">
                <local:UserControl1 />
            </TabItem>
        </TabControl>
    </Grid>
    
    

    <!--<Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <local:UserControl1 Grid.Row="0"/>
        <local:UserControl1 Grid.Row="1"/>
    </Grid>-->
</Window>
