1

Closed

Default value not reset when DecimalUpDown is cleared

description

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

comments

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

wrote Feb 5, 2013 at 2:39 PM

wrote Feb 22, 2013 at 1:57 AM

wrote May 16, 2013 at 12:39 PM

wrote May 16, 2013 at 12:39 PM

wrote Jun 14, 2013 at 7:36 AM

wrote Jun 15, 2013 at 1:30 AM