Thank you for your answer and the video.
I am using assemblies in version 2013.1.403.45
When reproducing the issue I found that if my Priority property which is bound to the RadNumericUpDown.Value is of the double?
type, then it works exactly like in your example - when window is opened control shows "None" string. So this is as expected.
However, when the Priority property is of the int?
type the control shows "1" (the minimal value) when the window is opened.
I wrapped the int? property in a double? property and it seems to solve my problem.
However, I guess the behavior for int? is not what is expected.
I see another post
where it is explained that "The RadNumericUpDown control doesn't support integer input"
However now, I have a 2nd problem: when the control initialized with null, when I press Up or Down arrow "1" is shown (which is expected), but the bound property setter gets 0.0 as a value. Am I doing something wrong again?
Actually, I made a workaround for this 2nd problem (with 0 instead of 1) by implementing an event handler for ValueChanged event:
(!e.OldValue.HasValue && e.NewValue.HasValue && e.NewValue.Value == (sender
RadNumericUpDown).Value = (sender
But it seems like the 2nd problem exists in RadNumericUpDown. Am I correct?