diff --git a/Azaion.Common/Controls/NumericUpDown.xaml b/Azaion.Common/Controls/NumericUpDown.xaml index 57fa233..d6c4f39 100644 --- a/Azaion.Common/Controls/NumericUpDown.xaml +++ b/Azaion.Common/Controls/NumericUpDown.xaml @@ -23,8 +23,10 @@ TextAlignment="Right" VerticalAlignment="Center" VerticalContentAlignment="Center" - Text="{Binding Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, RelativeSource={RelativeSource AncestorType={x:Type local:NumericUpDown}}}" + Text="{Binding Value, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type local:NumericUpDown}}}" LostFocus="NudTextBox_OnLostFocus" + PreviewTextInput="NudTextBox_OnPreviewTextInput" + DataObject.Pasting="NudTextBox_OnPasting" />