5
Answers

Register all textboxes to the same event

Photo of gil elgrably

gil elgrably

12y
2k
1
i all,

I have a lot (about 30) TextBoxes in the same window and I want to register all of them to the same PreviewKeyDown Event. Is there any easy way of signing all of them without the need to sign each of the textBoxes (in the XAML code) individualy?

Thanks in advance,

Gil.

Answers (5)