Based on Clifford Nelson's Enhanced WPF Custom Control for Zooming and Panning
- Added option for panning the view with mouse wheel up/down
- Support for horizontal wheel scrolling / mouse wheel tilt
- Fully customizable mouse and keyboard controls
- Refactored and cleaned up code
- Renamed the namespace & control - for easier differentiation from the original control
- Fixed some bugs
- XAML namespace definitions and prefix for ease of integration
- Install the package from NuGet
or download the packages or binaries from Releases page - Add
xmlns:WPFZoomPanel="https://github.com/Moravuscz/WPFZoomPanel"
to your XAML Window definition - Use
<WPFZoomPanel:ZoomPanel>
or</WPFZoomPanel:ZoomPanelScrollViewer>
for whatever content you want to be zoom/pan-able. - Add
<WPFZoomPanel:ZoomPanelViewBox>
to add an interactive minimap for the ZoomPanel.
For more details see Wiki