Problem: Validation.HasError automatically highlights the control that has Error via INotifyDataErrorInfo implementation.
My problem is i need to set focus on that specific control when it has ERror.
How do I do That?
Problem: Validation.HasError automatically highlights the control that has Error via INotifyDataErrorInfo implementation.
My problem is i need to set focus on that specific control when it has ERror.
How do I do That?
I have gone through several articles in Stackoverflow and other sites and i finally wish to address this problem.
Setting FocusedElement did the trick. :) This can also be used to set focus using a boolean property in ViewModel via DataTrigger than a simple trigger.