asked on 16 Jun 2022, 04:48 PM
| edited on 16 Jun 2022, 04:49 PM
I have a problem with RadNumericUpDown control. I'm not able to display edge values of double type (e.g. NaN or Infinity). Every time I try to bind to property with these values I've got a Binding error.
Is it even possible to achieve it utilizing RadNumericUpDown?
answered on 28 Jun 2022, 05:00 PM
| edited on 28 Jun 2022, 05:07 PM
Unfortunately, it was not my intention to have these properties within view model, but within the control (by overriding properties or methods). I have thousands of view models when I have to to introduce such a thing, so there is no way to do this by changing view model this way. Am I able to achieve it by creating the new control inheriting from RadNumericUpDown?
I tried to override RadNumericUpDown.FormatDisplay() method, but it does not allow to bind NaN or Inf anyway, so I've got a null value within Value property.