I have a TextBox as UWP RadGrid's cell data template which is not working as expected after setting UpdateSourceTrigger=PropertyChanged.
Its caret position changes to the start of the text after each keystroke. That's why if I try to enter 123 then it shows 321 in the text box. Note that, it is working fine if I remove the UpdateSourceTrigger=PropertyChanged.
How can I solve this problem?
<
rad:DataGridTemplateColumn.CellContentTemplate
><
br
>
<
DataTemplate
>
<
TextBox
x:Name
=
"SetInHours"
Text
=
"{Binding SetInHours, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
/>
</
DataTemplate
><
br
>
</
rad:DataGridTemplateColumn.CellContentTemplate
>