04-06-2016, 04:37 AM
Hi,
I am trying out the ZoomPanel and trying to replicate something I have created using WPF ScrollViewer:
1. Left click inside the scrollable area to click controls on a Canvas inside the ScrollViewer.
2. Press and hold left mouse button to drag. Mouse events are not passed to controls inside the ScrollViewer.
Is it possible to do this in ZoomPanel? I have tried setting ZoomMode
to ZoomOut, which allows me to left click things inside the ZoomPanel. I then do drag detection while the mouse button is pressed. If it moves so many pixels,
I set ZoomMode to Move, and the cursor changes but it doesn't actually start dragging anything. Perhaps there is a private StartDragPan method in there somewhere?
Thanks,
-Jared
I am trying out the ZoomPanel and trying to replicate something I have created using WPF ScrollViewer:
1. Left click inside the scrollable area to click controls on a Canvas inside the ScrollViewer.
2. Press and hold left mouse button to drag. Mouse events are not passed to controls inside the ScrollViewer.
Is it possible to do this in ZoomPanel? I have tried setting ZoomMode
to ZoomOut, which allows me to left click things inside the ZoomPanel. I then do drag detection while the mouse button is pressed. If it moves so many pixels,
I set ZoomMode to Move, and the cursor changes but it doesn't actually start dragging anything. Perhaps there is a private StartDragPan method in there somewhere?
Thanks,
-Jared