<wpf:ThemableWindow x:Class="InABox.WPF.DateEdit"
        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:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        xmlns:wpf="clr-namespace:InABox.Wpf"
        mc:Ignorable="d"
        Title="Edit Value" Width="280" Height="250">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Calendar x:Name="Calendar" 
                  Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3"
                  Margin="5" DisplayMode="Month"
                  GotMouseCapture="Calendar_GotMouseCapture"></Calendar>
        <DockPanel Grid.Row="1" LastChildFill="False">
            <Button x:Name="Cancel" DockPanel.Dock="Right" Margin="5,0,5,5" Padding="5" Width="60" Content="Cancel" Click="Cancel_Click" />
            <Button x:Name="OK" DockPanel.Dock="Right" Margin="5,0,0,5" Padding="5" Width="50" Content="OK" Click="OK_Click" />
        </DockPanel>
    </Grid>
</wpf:ThemableWindow>