WPF custom click event
Hi, I am wondering if it is possible to create similar event to mouse click, that will be called only for controls that are at the specific coordinates of window.
1 Reply
In WPF, you can achieve this by handling the PreviewMouseLeftButtonDown or PreviewMouseRightButtonDown event at the container level and then determining which control, if any, is at the specific coordinates you are interested in.