<Window x:Name="mainWindow" x:Class="eKasa.Core.HomeWindow"
		  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
		  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		  mc:Ignorable="d"
        Title="Manage Database" Height="520" Width="800" Background="#FF2C2F33" WindowStyle="None" MouseDown="HomeWindow_MouseDown" ResizeMode="CanResize" WindowStartupLocation="CenterScreen" KeyDown="HomeWindow_KeyDown" Foreground="#FFD9D9D9">

	<WindowChrome.WindowChrome>
		<WindowChrome ResizeBorderThickness="0" CaptionHeight="0"/>
	</WindowChrome.WindowChrome>

	<Grid x:Name="mainGrid">
		<Rectangle x:Name="titlebar" Height="20" Stroke="#FF202225" Fill="#FF202225" Margin="0,0,0,498"/>
		<Button x:Name="windowClose" FontFamily="Segoe MDL2 Assets" Content="&#xE8BB;" Template="{StaticResource chromeCloseButton}" HorizontalAlignment="Right" VerticalAlignment="Top" Foreground="#FFBFBEBF" BorderBrush="{x:Null}" Background="{x:Null}" Width="30" Height="20" Padding="0,0,0,0" Click="WindowClose_Click"/>

		<Button x:Name="windowMinimize" FontFamily="Segoe MDL2 Assets" Content="&#xE921;" Template="{StaticResource chromeMinimizeButton}" HorizontalAlignment="Right" VerticalAlignment="Top" Foreground="#FFBFBEBF" Width="30" Height="20" Padding="0,0,0,0" Margin="0,0,35,0" Click="WindowMinimize_Click"/>

		<Button x:Name="windowDbTitle" Content="{}{0}" Style="{DynamicResource DbTitleButton}" VerticalAlignment="Top" Foreground="Black" Height="20" Margin="0,0,154,0" FontWeight="Normal" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" HorizontalAlignment="Right" MaxWidth="250" MinWidth="125" IsTabStop="False"/>

		<Grid x:Name="navigationGrid" Width="65" HorizontalAlignment="Left" Background="#FF202225" Margin="0,20,0,0">
			<Button x:Name="homeButton" FontFamily="Segoe MDL2 Assets" FontSize="24" Content='&#xEA8A;' VerticalAlignment="Top" Margin="0,10,0,0" Click="Navigate" TabIndex="10" Template="{StaticResource navigationButton}" Height="40" Foreground="#FF7289DA"/>

			<Button x:Name="createButton" FontFamily="Segoe MDL2 Assets" FontSize="24" Content='&#xF8AA;' VerticalAlignment="Top" RenderTransformOrigin="0.585,1.374" Click="Navigate" TabIndex="11" Template="{StaticResource navigationButton}" Margin="0,55,0,0" Height="40" Foreground="#FF7289DA"/>

			<Button x:Name="editButton" FontFamily="Segoe MDL2 Assets" FontSize="24" Content='&#xE70F;' VerticalAlignment="Top" Margin="0,100,0,0" Click="Navigate" TabIndex="12" Template="{StaticResource navigationButton}" Height="40" Foreground="#FF7289DA"/>

			<Button x:Name="helpButton" FontFamily="Segoe MDL2 Assets" FontSize="24" VerticalAlignment="Bottom" Click="Navigate" TabIndex="13" Template="{StaticResource navigationButton}" Height="40" Margin="0,0,0,145" Foreground="#FF7289DA">
				<Grid>
					<Label x:Name="circle" Content='&#xEA3B;' Foreground="#FF7289DA"/>
					<Label x:Name="qmark" Content='&#xE897;' Foreground="#FF202225" FontSize="14" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontWeight="Bold" FontStyle="Normal"/>
				</Grid>
			</Button>

			<Button x:Name="aboutButton" FontFamily="Segoe MDL2 Assets" FontSize="24" Content='&#xE943;' VerticalAlignment="Bottom" Click="Navigate" TabIndex="14" Template="{StaticResource navigationButton}" Height="40" Margin="0,0,0,100" FontWeight="Normal" Foreground="#FF7289DA"/>

			<Button x:Name="settingsButton" FontFamily="Segoe MDL2 Assets" FontSize="24" Content='&#xE713;' VerticalAlignment="Bottom" Click="Navigate" TabIndex="15" Template="{StaticResource navigationButton}" Height="40" Margin="0,0,0,55" FontStyle="Normal" FontWeight="Normal" Foreground="#FF7289DA"/>

			<Button x:Name="terminateButton" Click="Terminate" FontFamily="Segoe MDL2 Assets" FontSize="24" Content='&#xE7E8;' VerticalAlignment="Bottom" TabIndex="16" Template="{StaticResource navigationButton}" Height="40" Margin="0,0,0,10" Foreground="#FFF24848"/>
		</Grid>

		<ContentControl x:Name="DisplayContent" Margin="65,20,0,0"/>
	</Grid>
</Window>
