Posted 15 years ago
by Andy Ver Murlen
Version: 9.1.0500
Platform: .NET 3.5
Environment: Windows XP (32-bit)
![Avatar](https://secure.gravatar.com/avatar/46e5f389a9bbe91e7cb4df50ea164421.jpg?s=64&d=identicon&r=g)
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.