整数のアップダウンwpfツールキットコントロールがあります。矢印キーを使用して値を変更し、明示的に入力することができます。しかし、値を変更した後、フォーカスを遠ざけると、値はゼロになります。
どんな助けでもいただければ幸いです。ありがとう!
<wpftlkit:IntegerUpDown Grid.Column="1" Margin="6" VerticalAlignment="Center" Increment="1" Maximum="7"
Value="{Binding ValueH, Mode=TwoWay, UpdateSourceTrigger=LostFocus}" Style="{StaticResource StyleErrorTemplate}"
IsEnabled="{Binding IsEnabled}" Visibility="{Binding Visibility}" />