WPF: TextBox Text is not updating

后端 未结 4 984
囚心锁ツ
囚心锁ツ 2021-01-12 06:42

I have a user control that i am using inside a DataTemplate, this UserControl contains a TextBox which is binded with Value p

4条回答
  •  既然无缘
    2021-01-12 07:09

    After days of looking around and a lot of search i found the solution of my problem

    After all validation done and assigning old value and updating the dependecy property, i need to cal UpdateTarget() method, to Update the value in my TextBox.

    This is what explains the solution better

    http://social.msdn.microsoft.com/forums/en-US/wpf/thread/c404360c-8e31-4a85-9762-0324ed8812ef/

提交回复
热议问题