<UserControl x:Class="Artemis.UI.DefaultTypes.DataModel.Input.DoubleDataModelInputView"
             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:b="http://schemas.microsoft.com/xaml/behaviors"
             xmlns:s="https://github.com/canton7/Stylet"
             xmlns:shared="clr-namespace:Artemis.UI.Shared;assembly=Artemis.UI.Shared"
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             mc:Ignorable="d"
             d:DesignHeight="450" d:DesignWidth="800">
    <TextBox VerticalAlignment="Center" 
             Text="{Binding InputValue}" 
             PreviewTextInput="{s:Action NumberValidationTextBox}" 
             materialDesign:TextFieldAssist.SuffixText="{Binding TargetDescription.Affix}"
             LostFocus="{s:Action Submit}"
             Width="140">
        <b:Interaction.Behaviors>
            <shared:PutCursorAtEndTextBox />
        </b:Interaction.Behaviors>
    </TextBox>
</UserControl>