mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:36:30 +00:00
restrict input for numeric controls
allow input dots
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
<RepeatButton
|
||||
Name="NudButtonUp"
|
||||
|
||||
Reference in New Issue
Block a user