PanAndZoom for Avalonia Home
  1. Home
  2. Docs
  3. API
    1. GitHub
    Avalonia Pan-and-Zoom Control

    PanAndZoom for Avalonia

    PanAndZoom provides a ZoomBorder control for Avalonia with pan, zoom, bounds management, and view-state workflows.

    Start Getting Started Testing with ProTest Browse API
    PanAndZoom sample application

    Start Here

    Installation

    Install the control package and configure your Avalonia application.

    Quickstart: ZoomBorder

    Create a zoomable surface, bind commands, and wire pointer and keyboard interaction.

    Sample Walkthrough

    Map the sample app tabs to concrete ZoomBorder features and interaction scenarios.

    Package

    PanAndZoom

    ZoomBorder, matrix helpers, commands, history, state persistence, bounds control, and advanced viewport utilities.

    Headless testing helpers are maintained separately in ProTest, with stable NuGet packages for xUnit 3 and xUnit 4.

    Documentation Sections

    Getting Started

    Install PanAndZoom and build your first zoomable view.

    Concepts

    Coordinate systems, transformation state, gestures, commands, and persistence mental models.

    Guides

    Scenario-driven recipes for bounds management, view history, keyboard control, zoom-to-rectangle, and more.

    Advanced

    Custom bounds and resize hooks, ScrollViewer integration, diagnostics, and project-level testing strategy.

    Reference

    Namespace maps, API coverage, Lunet pipeline details, and licensing.

    Repository

    • Source code and issues: github.com/wieslawsoltes/PanAndZoom
    • Published docs target: wieslawsoltes.github.io/PanAndZoom

    Copyright © 2026, Wieslaw Soltes aka wieslawsoltes - Content licensed under the Creative Commons CC BY 2.5 | Site generated by lunet hosted on GitHub Pages