PanAndZoom is an interactive viewport control with zoom, pan, history, bounds, resize, rotation, and state persistence support.
Start with Quickstart: ZoomBorder to build an interactive canvas, editor, or viewer.
ZoomBorder AddsAvalonia.Controls.PanAndZoom.ZoomBorder wraps a single child and manages a transform matrix over that content. Common capabilities include:
KeepContentVisible and FillViewportICommand bindings for MVVM surfacesHeadless testing helpers are maintained in ProTest. Use its xUnit 3 or xUnit 4 adapter to test Avalonia interaction without a desktop session. The ProTest setup guide explains the matching package and framework versions.