Right click wpf

When I start dragging with a right-click in WPF, it launches a drop on any target, without waiting for the right mouse button to appear.

+1
source share
1 answer

To drag, you need to grab the mouse, which can only be achieved by clicking the left mouse button. See http://msdn.microsoft.com/en-us/library/system.windows.uielement.capturemouse(VS.95).aspx (for Silverlight, but I think it looks like).

+2
source

Source: https://habr.com/ru/post/1780983/


All Articles