<Window x:Class="FlexGrid101.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:FlexGrid101"
        mc:Ignorable="d"
        Title="FlexGrid101" Height="640" Width="960">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>

        <Border Height="50" Background="#9D2235" VerticalAlignment="Top">
            <Grid Margin="10 0">
                <StackPanel Orientation="Horizontal">
                    <Button x:Name="HomeButton" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="5" Padding="5" 
                            Background="Transparent" BorderBrush="Transparent" Visibility="Collapsed" Click="HomeButton_Click">
                        <Image Source="/Images/ico-Home.png" Stretch="Fill" Width="20" Height="20"/>
                    </Button>
                    <TextBlock x:Name="Caption" Text="FlexGrid101" VerticalAlignment="Center" HorizontalAlignment="Left" Foreground="White" FontSize="20" Margin="5"/>
                </StackPanel>
            </Grid>
        </Border>

        <Frame x:Name="NavigationFrame" Grid.Row="1" Source="/View/HomePage.xaml" NavigationUIVisibility="Hidden"/>
    </Grid>
</Window>
