<UserControl x:Class="VIZ.Framework.WpfTest.NavigationTest"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:fcommon="clr-namespace:VIZ.Framework.Common;assembly=VIZ.Framework.Common"
             xmlns:local="clr-namespace:VIZ.Framework.WpfTest"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="60"></RowDefinition>
        </Grid.RowDefinitions>
        <fcommon:NavigationControl x:Name="navigation">
            <fcommon:NavigationItemControl ViewType="{x:Type local:UserControl1}" IsSelected="True"></fcommon:NavigationItemControl>
            <fcommon:NavigationItemControl ViewType="{x:Type local:UserControl2}"></fcommon:NavigationItemControl>
        </fcommon:NavigationControl>
        <StackPanel Grid.Row="1" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Button Width="120" Height="40" Content="UC1" Margin="20,0,20,0" Click="Button_Click"></Button>
            <Button Width="120" Height="40" Content="UC2" Margin="20,0,20,0" Click="Button_Click_1"></Button>
        </StackPanel>
    </Grid>
</UserControl>
