tags:

views:

36

answers:

1

Hello,

I have an Adorner and I want that Adorner to be able to receive keyboard events, but I'm having problems with those whole focus stuff. Can somebody please tell, what has to be done to make an adorner able to receive keyboard events? Thank you very much for any help!

A: 

Here's the solution:

adorner.Focusable=true;
Keyboard.Focus(adorner);
stefan.at.wpf