Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
450
How to ignore screen boundaries while dragging?
posted

Hello,

while dragging a control using the D/D Framework, the dragged control will visually stop at screen boundaries. Example from the samples browser on a multi-monitor setup:

If you drag further, it will "snap" over to the other screen, but it's not possible to have the image basically in between the two monitors.

I want to achieve something like this:

The issue here is that we have a drop target that is near one of the screen edges. If we drag a slightly larger image (say, 300x300px) on it, the cursor will move to the target (and the drag/drop operation succeeds), but the image will block on the screen boundaries. This might be slightly confusing to our users, and we would like to just ignore the edges. I haven't found anything about that in the docs, is this possible to do?

  • 54937
    Offline posted

    I was wondering if you had a chance to download the latest SR and verify that the issue has been resolved?

  • 54937
    Offline posted

    Technically the dragged element is hosted in a WPF popup and the WPF framework adjusts the position of the popups such that it is within a single monitor so this is expected behavior. That being said we may be able to work around the behavior so I've submitted an issue for this - TFS207349.