I want to be able in my WPF application to detect the MouseUp
event from anywhere. That is to say, if the user clicks in the control and holds his click, then releases it outside the Control, I want my MouseUp
event to fire.
I have done the MouseDown
event, it works, but the MouseUp event isn't fired if released outside the Window
.
Add the CaptureMouse method in your MouseButtonDown handler
You can look up here on what it actually does.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With