<Grid x:Class="ScratchControl.NumberExpressionControl"
             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" 
             MinHeight="20" SnapsToDevicePixels="True"
             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="Green" BorderBrush="LightGray"
                Width="7"
                BorderThickness="1, 1, 0, 1"/>
    <Border Name="CenterPart" Grid.Column="1" MinWidth="20" BorderBrush="LightGray" BorderThickness="0,1,0,1" 
                SnapsToDevicePixels="True"
                Background="Green">
        <StackPanel Margin="3,0" Orientation="Horizontal"  Name="Container" VerticalAlignment="Center"/>
    </Border>
    <Border Name="RightPart" Grid.Column="2" CornerRadius="0, 7,7, 0" Background="Green" BorderBrush="LightGray"
                Width="7"
                BorderThickness="0, 1, 1, 1"/>
</Grid>
