I have a custom UserControl. I want to use it in several different products, so I want something that can be implemented inside UserControl itself. I want to know when a user went beyond UserControl so that I can hide it, like a ComboBox. How can i do this?
I tried to handle the click event, but it only fires if the click occurred within the control.
source
share