<wpf:ThemableWindow x:Class="InABox.WPF.TextBoxDialog"
        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:wpf="clr-namespace:InABox.Wpf"
        mc:Ignorable="d"
        Title="MemoEditor" Height="450" Width="800" WindowStartupLocation="CenterScreen">
    <Grid Margin="5">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBox Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" x:Name="Memo" Background="LightYellow"
                 AcceptsReturn="True" VerticalScrollBarVisibility="Auto" AcceptsTab="true" TextChanged="Memo_OnTextChanged" />
        <Button Grid.Row="1" Grid.Column="1" Margin="5,5,0,0" Width="80" Height="30" x:Name="OK" Content="OK"
                Click="OK_Click" />
        <Button Grid.Row="1" Grid.Column="2" Margin="5,5,0,0" Width="80" Height="30" x:Name="Cancel" Content="Cancel"
                Click="Cancel_Click" />
    </Grid>
</wpf:ThemableWindow>