<Window
        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:local="clr-namespace:sfDoubleTextBox"
        xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
        x:Class="sfDoubleTextBox.MainWindow"
        mc:Ignorable="d"
        Title="MainWindow" Height="250" Width="400"
        >

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>

            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>

        <syncfusion:DoubleTextBox Grid.Column="0" Grid.Row="0"   NumberGroupSeparator=" " 
                                  MinimumNumberDecimalDigits="0"  MaximumNumberDecimalDigits="3" NumberDecimalSeparator="." TextWrapping="Wrap" 
                                  Value="{Binding TestValue1}"  />
        <syncfusion:DoubleTextBox Grid.Column="1" Grid.Row="0"    NumberGroupSeparator=" " 
                                  NumberDecimalDigits="0" MaximumNumberDecimalDigits="3" NumberDecimalSeparator="." TextWrapping="Wrap" 
                                  Value="{Binding TestValue2}"  />
        <Button Grid.Column="0" Grid.Row="1" Content="Test1 (Set 456.789)"   Click="Button_Click_1" />
        <Button Grid.Column="1" Grid.Row="1" Content="Test1 (Set 123)"  Click="Button_Click_2"/>
        <TextBox Grid.Column="0" Grid.Row="2" Text="set manual value 4.56 before Test2" />
        <TextBox Grid.Column="1" Grid.Row="2"  Text="set manual value 5 before Test2" />
        <Button Grid.Column="0" Grid.Row="3" Content="Test2 (Set 123)"  Click="Button_Click_3"/>
        <Button Grid.Column="1" Grid.Row="3" Content="Test3 (Set 456.789)"   Click="Button_Click_4"/>
    </Grid>
</Window>
