Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
544
UltraNumericEditor and MaskInput
posted

Hello everyone,

 I have several ultra numeric editors which have their TextHAlign set to Infragistics.Win.HAlign.Left. FormatString of a control is set to "0.0000" and MaskInput property to {double:11.4}. When control contains some value it is nicely aligned to the left. When I enter edit mode, text gets offset, as specified by the first part of format string in MaskInput (which works as expected). Now I am wondering whether this behaviour can be turned off, as it is annoying (text jumps from the left towards right part of control, but is still aligned to the left side) ? I've tried to set MaskInput to handle number of any size with decimal precision of four digits, but to no avail (it seems that specifiying integer part is mandatory - how come?)

 Thanks in advance for your time and explanation.