<Window x:Class="HistoryView.Views.Window1"
        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:HistoryView.Views"
        xmlns:controls="clr-namespace:HistoryView.Controls"
        mc:Ignorable="d"
        ResizeMode="NoResize"
        AllowsTransparency="True"
        MouseLeftButtonDown="This_MouseLeftButtonDown"
        WindowStyle="None"
        WindowStartupLocation="CenterScreen"
        SizeToContent="WidthAndHeight">
    <Window.Template>
        <ControlTemplate TargetType="Window">
            <Border BorderThickness="2" BorderBrush="{StaticResource DarkBorderColor}" Background="{StaticResource BackgroundColor}" CornerRadius="8">
                <Grid Margin="0">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="auto"/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <controls:Header CornerRadius="6,6,0,0"/>
                    <!--<controls:Header x:Name="ThemeHeader" CornerRadius="8,8,0,0"/>-->
                    <ContentPresenter Grid.Row="1"/>
                </Grid>
            </Border>
        </ControlTemplate>
    </Window.Template>
</Window>
