<wpf:ThemableWindow x:Class="InABox.WPF.NumberEdit"
        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="NumberEdit" Height="200" Width="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="40" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="80" />
            <ColumnDefinition Width="80" />
        </Grid.ColumnDefinitions>
        <Label x:Name="Label" Grid.Row="0" Grid.Column="0" Margin="10" HorizontalAlignment="Left"
               HorizontalContentAlignment="Left" VerticalAlignment="Stretch" VerticalContentAlignment="Center"
               Content="Enter Value" />
        <xctk:IntegerUpDown x:Name="Editor" Grid.Row="0" Grid.Column="1" Margin="20" Grid.ColumnSpan="3"
                            HorizontalAlignment="Stretch" VerticalAlignment="Center" Value="0" TextAlignment="Center" />
        <Button x:Name="OK" Grid.Row="1" Grid.Column="2" Margin="5" Content="OK" Click="OK_Click" />
        <Button x:Name="Cancel" Grid.Row="1" Grid.Column="3" Margin="5" Content="Cancel" Click="Cancel_Click" />
    </Grid>
</wpf:ThemableWindow>