Is there a global focus change event in Silverlight?

Is there a global focus change event? I would like to receive notifications every time FocusManager.GetFocusedElement changes.

+3
source share
2 answers

You can attach event handlers GotFocus, and LostFocusto visualize the root of your application (page). Since these events are routed events, they will bubble the tree of elements to the root every time the focus changes inside your page.

+6
source

, ​​. VisualTreeHelper Focus .

0

All Articles