<Grid x:Class="ScratchControl.NumberExpressionHolder"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" SnapsToDevicePixels="True"
      Margin="0"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="auto"/>
        <ColumnDefinition Width="*"/>
        <ColumnDefinition Width="auto"/>
    </Grid.ColumnDefinitions>
    <Border Name="LeftPart" Grid.Column="0" CornerRadius="7, 0, 0, 7" Background="White" BorderBrush="White"
                Width="7"/>
    <Grid Name="CenterPart" Grid.Column="1" MinWidth="20"
                SnapsToDevicePixels="True" Background="White"
                >
        <TextBox Grid.Column="1" Name="TextInput" MinWidth="20" BorderThickness="0" TextChanged="TextInput_TextChanged" 
                 VerticalAlignment="Center" Padding="0" Margin="0" FontSize="12"
             PreviewTextInput="TextInput_PreviewTextInput"/>
    </Grid>
    <Border Name="RightPart" Grid.Column="2" CornerRadius="0, 7, 7, 0" Background="White" BorderBrush="White"
                Width="7"/>
    
</Grid>
