Hello,
it would be great to have an option to enter a numeric value, without a mask. Just allow the proper keys to be pressed. It it sometimes a bit cumbersome to specify always an invisible mask just to allow a numeric input.
1) The issue I have with the XamNumericEdit control is, that I cannot use it out of the box. I always have to look into the help (different places) how to set all the properties to act as a “normal” numeric input control.
I have to set always the same properties:
Mask="{}{double:-9.4}"
PromptChar=""
TrimFractionalZeros="True"
When using Integer values I have additionally use:
ValueType={x:Type sys:Int32}"
With the Mask, when I enter values in the decimal area, and the number of digits is reached it automatically writes value before the decimal separator. That is pretty bad, when you don’t watch carefully. You get a total wrong value.
2) When using the NumericField in the xamDataGrid control I have to do a workaround in order to not show the mask prompt char:
<igWPF:NumericField.PromptChar>
<sys:Char></sys:Char>
</igWPF:NumericField.PromptChar>