When I put in NumericUpDown minimum value, and I click down button then value of binding variable becomes less then minimum, but control shows right value.
I used this code for initialize in xaml:
And this code for initializing in C#:
So, if I have value is 1 in control, then i can get 0 in variable, but control will show 1.
Please help.
I used this code for initialize in xaml:
<
telerik:RadNumericUpDown
Name
=
"TopNSpinner"
IsEditable
=
"True"
Minimum
=
"1"
ValueFormat
=
"Numeric"
Value
=
"{Binding Result.TopNEventsCount, Mode=TwoWay}"
/>
And this code for initializing in C#:
TopNSpinner.NumberFormatInfo = new NumberFormatInfo() { NumberDecimalDigits = 0 };
So, if I have value is 1 in control, then i can get 0 in variable, but control will show 1.
Please help.