1

I am using WPF.PanAndZoom library for pan and zooming but by default it has panning enabled on right mouse button click but i need it on left mouse button click but found no documentation for this. Anyone can help please?

If you have suggestion for any other similar library, that will also be acceptable.

Zubair Rana
  • 2,006
  • 2
  • 15
  • 38

1 Answers1

0

The latest version on Github has this implemented due to this issue:

https://github.com/wieslawsoltes/PanAndZoom/issues/14

In fact this issue appears to have been opened by you! Within the XAML you can use the PanButton="Left" property to set this.

The NuGET packaged version 0.5.1 does not appear to have this code implemented yet.

Nic Fulton
  • 101
  • 5
  • https://github.com/wieslawsoltes/PanAndZoom/issues/16 - the developer has explained an alternative to using the standard NuGet source. – Nic Fulton Dec 05 '17 at 08:00
  • 1
    Yes i have already fixed that issue by combining the old code of this library available at https://stackoverflow.com/a/6782715/6482266 having left button panning option, with the nuget library code. – Zubair Rana Jan 10 '18 at 07:49