I have a three textboxes...and I wanted to check if any of these three has focus in it.
I tried something like this -> added three properties in viewmodel...whose value will be toggled by lost/got focus events. (I did this through attached properties). But in this case...if I move foucs from one textbox to next...first textbox's focus become false...and next one is yet to set...So in this condition none of these textboxes has focus...but second one will gain focus soon.
As a work around, I am trying to use Group box...to check if this control has focus instead of checking all three. Please tell me if this work