I'm navigating with the keyboard, and I can't find visually which element has the focus. While debugging I managed to break the execution in a method inside the Window but I don't know which property will reveal the current focused control.
Asked
Active
Viewed 3,314 times
1 Answers
13
Use Snoop and look for the events in events tab. Select all the events you want to listen from the events combo box. As you move through your application you can see the tab refreshing with new controls that are receiving those events.

anivas
- 6,437
- 6
- 37
- 45
-
3I didn't need to look for events. In the footer it showed the current focused element. – Jader Dias Jul 06 '11 at 17:03
-
I meant GotKeyboardFocus event – anivas Jul 06 '11 at 17:06
-
5No need for that. It reads the `Keyboard.FocusedElement` property. – Jader Dias Jul 06 '11 at 17:06