Posted 15 years ago
by Andy Ver Murlen
Version: 9.1.0500
Platform: .NET 3.5
Environment: Windows XP (32-bit)
If you add an Int32EditBox to a window and set it's Format to "C", you must physically type "$" before any entry will be accepted.
If you execute the above code, when the Int32Box gets focus, all text will be selected, however no input will be accepted until a "$" sign is entered. By contrast, the DoubleEditBox will accept all input, and add the "$" sign after focus is lost.
The Int32Box correctly enters "00" to the end of the input if the "." key is pressed.
<Window>
<StackPanel>
<Editors:Int32EditBox Format="C" />
<Editors:DoubleEditBox Format="C" />
</StackPanel>
</Window>
The Int32Box correctly enters "00" to the end of the input if the "." key is pressed.