Skip to main content

debugging - Anyone have a good way to debug WPF focus? -


I'm going to focus hell on my WPF application right now. Focus is moving between the elements, and it appears that when the tab key is pressed repeatedly, it disappears to come to another element.

Is there a property, I can tie a label on it or something that just will tell me what time has the keyboard focus been on? Sometimes I can see the ant trail which indicates something, but I can not tell what is around to close the keyboard focus!

What are you possibly looking for:

(as FrameworkElement System.Windows.Input.Keyboard.FocusedElement) .name

You have to set a dependency property for it so that you can force it though.

Wakken


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -