Is there any way to control the behavior of the Up/Down arrow keys in an UltraNumericEditor? I'm getting undesireable behavior with the following settings when the editor value is empty.
ultraNumericEditor1.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;ultraNumericEditor1.MaskInput = "{double:-" + 17 + "." + 3 + "}";
If I press DownArrow, nothing happens. That's OK.If I press UpArrow, the editor is populated with the following value: "-99,999,999,999,999,999"
If I don't set the MaskInput, the UpArrow yields the expected behavior, setting the editor value to "0"
thanks
Stefan
My guess is that Value will get set to the MinValue. So try setting the MinValue to 0 - assuming you want the MinValue to be 0.
Otherwise, I think you might have to try handling the KeyDown event and marking it handled.
Another possible solution might be to alter the KeyActionMappings, but you would probably have to completely disable the arrow keys and handle them youself if you go that route.
I'm catching the KeyDown event, and that seems to be working for me. Thanks.