| 123456789101112131415161718192021222324 | <UserControl x:Class="MECF.Framework.UI.Core.Control.NumbericUpDown"             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"              xmlns:local="clr-namespace:MECF.Framework.UI.Core.Control"             mc:Ignorable="d" x:Name="self"             d:DesignHeight="35" d:DesignWidth="200">    <Grid>        <Grid.RowDefinitions>            <RowDefinition Height="*"></RowDefinition>            <RowDefinition Height="*"></RowDefinition>        </Grid.RowDefinitions>        <Grid.ColumnDefinitions>            <ColumnDefinition Width="*"></ColumnDefinition>            <ColumnDefinition Width="20"></ColumnDefinition>        </Grid.ColumnDefinitions>        <TextBox Name="txtInput" VerticalContentAlignment="Center" Grid.Row="0" Grid.RowSpan="2" Text="{Binding ElementName=self,Path=Value,StringFormat={}{0:F2}}"                  PreviewTextInput="OnPreviewTextInput" InputMethod.IsInputMethodEnabled="False" TextChanged="TextBox_TextChanged"></TextBox>        <Button Focusable="true" Content="▲" Grid.Row="0" Grid.Column="1" Click="Up_Click"></Button>        <Button Focusable="True" Content="▼" Grid.Row="1" Grid.Column="1" Click="Down_Click"></Button>    </Grid></UserControl>
 |