Using wpf: How to know if the UserControl is active besides using IsFocused on newest questions tagged wpf – Stack Overflow
I am working on a WPF project, and I am trying to fire an event every time some userControls get active or inactive.
These userControls have many controls inside of them.
I tried to achieve this using the userControl events
LostFocus, but this events are not working in the way I need since the userControl lost the focus when I work with controls inside of it.
So, my question is: Is there a way to mantain a userControl as
Active while the user works with controls inside of it, and, when the user goes to another userControl this first one gets
Hope someone can help me, thank you in advance.
Using wpf: using-wpf