Default value not reset when DecimalUpDown is cleared


When a DecimalUpDown control has a default value set and I clear the contents of the control I would expect it to return to the default value. Instead it shows the watermark and the control has the red border and tooltip "Value '' could not be converted".
Closed Jun 15, 2013 at 1:30 AM by emartin


emartin wrote Nov 21, 2012 at 3:17 PM

Fixed in v1.9
DefaultValue will now be working. When Text is set to null or empty string, the Value property will be set to the DefaultValue.

As long as the source of the binding (eg. ViewModel) assigned to the "Value" property accept the new value you should no longer have the red border and tooltip