While the RadNumericUpDown control still has the focus from a previous edit,
if I update what it is bound to in code behind and RaisePropertyChanged for the property,
the RadNumericUpDown does not get updated.
If I first take the focus off of RadNumericUpDown on to another control before changing the bound value in the same way
as above the same RadNumericUpDown does get updated.
Some questions:
* Is this behavour expected?
* How can I disable/workaround this?
Below is how I am defining the control and binding in XAML:
Alan
if I update what it is bound to in code behind and RaisePropertyChanged for the property,
the RadNumericUpDown does not get updated.
If I first take the focus off of RadNumericUpDown on to another control before changing the bound value in the same way
as above the same RadNumericUpDown does get updated.
Some questions:
* Is this behavour expected?
* How can I disable/workaround this?
Below is how I am defining the control and binding in XAML:
<
controls:RadNumericUpDown
x:Name
=
"XTextBox"
Value
=
"{Binding GraphicalItem.Rect.X}"
UpdateValueEvent
=
"PropertyChanged"
Minimum
=
"{Binding GraphicalItem.Rect.MinX}"
Maximum
=
"{Binding GraphicalItem.Rect.MaxX}"
LargeChange
=
"{Binding LargeCoordinateChange}"
SmallChange
=
"{Binding SmallCoordinateChange}"
BorderBrush
=
"#FFCBCBCB"
Margin
=
"3,2,0,2"
HorizontalAlignment
=
"Right"
BorderThickness
=
"1"
Background
=
"{x:Null}"
Height
=
"20"
MinWidth
=
"40"
Padding
=
"1,1,2,1"
/>
Alan