I will define an event for my border element that relize mouse left button up outside of this element.
Is there any way to find out mouse left button up event outside of an element in wpf?
1k Views Asked by vmahdavi At
2
I will define an event for my border element that relize mouse left button up outside of this element.
You can get mouse up event outside the element who received mouse down, if on the mouse down you call
element.CaptureMouse()
(and on mouse up, do not forget to callelement.ReleaseMouseCapture()
).