Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: DecimalUpDown issues

$
0
0
I have found a couple of issues with this control (probably applies to double and int variations as well)
1) DecimalUpDown with range -x to x, i.e. -100 to 100. If you type in a negative number, the first keystroke '-' generates a FormatException.
2) DecimalUpDown with range 0.1 to 1.0. If you attempt to type 0.5, the first keystroke '0' causes the control to validate and modifies the text to 0.1, so the next keystroke '.' is ignored and the '5' is appended giving the value 0.15.
3) This may just be a personnal preference, but if you have a DecimalUpDown with an increment of 0.1 which currently holds 0.005 (by typing). Increment should go to 0.1, 02, 0.3 etc and decrement should go to 0.0, -0.1, -0.2

Viewing all articles
Browse latest Browse all 4964

Trending Articles