I have got user control which have a popup (it is bigger than user control) Now I want to hide popup when user clicks in another part of a screen. (standard combobox behavior) How I can do this? I have tried to listen event pointer_click and I could get coordinates but it would be hard to manually check if user clicked on popup (maybe is there a way to check what control is on that coordinates?)
Thanks in advance