I am defining an event for my border element that moves the left mouse button outside the bounds of this element.
You can get a mouse event outside of the element that the mouse received if, at the direction of the mouse, you call element.CaptureMouse()(and when you click the mouse, remember to call element.ReleaseMouseCapture()).
element.CaptureMouse()
element.ReleaseMouseCapture()
Mouse.Capture (this,CaptureMode.SubTree); AddHandler (); private void AddHandler() { AddHandler (Mouse.PreviewMouseDownOutsideCapturedElementEvent,new MouseButtonEventHandler (HandleClickOutsideOfControl),true); }
Source: https://habr.com/ru/post/1785356/More articles:Are recovery web services created in axis2 / c really RESTful? - resthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1785352/how-to-initialize-values-to-a-hashsetstring-in-c&usg=ALkJrhiuLI7tdHBv9sk9lqPAuF_i5NEFNADoes the debugger make sense that this is Scala code that I am debugging? - debuggingAndroid tab for vertical display on the left side of the screen in landscape orientation - androidhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1785355/converting-subversion-repository-to-mercurial-converting-revision-ids-in-commit-logs&usg=ALkJrhjxRe0G5OobFCIAcc2mzCGrATbYeAC # Pass a type to a method that should be evaluated in an "is" statement? - c #Javascript this problem - javascriptHow to properly encode the javascript property and method using the 'prototype' function? - javascriptWP7 - show hide application panel - windows-phone-7how to click anchor from code in gwt? - gwtAll Articles