How to prevent theft of focus when clicking on usercontrol?

I want to be able to click on my user control and not make it steal focus from any other control. I know when you click on a shortcut, it does not steal focus. How can this be done?

+3
source share
1 answer

Try disabling your control with the ControlStyles.Selectable flag.

+2
source

Source: https://habr.com/ru/post/1788083/


All Articles