Open xceedsoftware opened 7 years ago
BoucherS[CodePlex]
Hi,
This will be fixed in v3.0. Modifying the numeric part of a NumericUpDown, with a FormatString containing non-numeric characters, won't discard the changes anymore.
It's v3.5 now. But the issue still not be fixed. @xceedsoftware
Hi, I've try v3.5. with the preceding steps, which are :
"Precondition: The IntegerUpDown has a FormatString such as quot{}0%quot or quot{}0°quot.
Repro: In the input box select only the numeric part, such as quot10quot when quot10%quot is shown, then enter a new value. The new value is discarded."
This do not happens anymore. Please specify. Thank you.
Get more controls, features, updates and technical support with Xceed Toolkit Plus for WPF
cmbcodeplex[CodePlex]
Precondition: The IntegerUpDown has a FormatString such as quot{}0%quot or quot{}0°quot.
Repro: In the input box select only the numeric part, such as quot10quot when quot10%quot is shown, then enter a new value. The new value is discarded.
I would have liked to workaround this temporarily by handling TextChanged or InputValidationError but this was not possible due to #22017. Instead I had to review IntegerUpDown's implementation and override ConvertTextToValue(). Here is my implementation for reference: public class IntegerUpDown : Xceed.Wpf.Toolkit.IntegerUpDown { protected string suffix = quotquot;
}