View for zooming and panning
Controls:
- MouseWheel: Zoom
- MouseLeftButtonPressed i.c.w. MouseMoving: Panning
- MiddleMouseButton: Reset the View
Properties:
- MaxZoom: value between 0.0 and 1.0 default: 0.2
- ZoomSpeed: value between 0.0 and 1.0 default: 0.05
- ZoomEnabled: bool
- PanEnabled: bool
Terminal:
dotnet add package AvaloniaZoomAndPan
OR
Package Manager Console
Install-Package AvaloniaZoomAndPan -Version 1.0.0