Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 1.48 KB

File metadata and controls

74 lines (50 loc) · 1.48 KB
title
Installation

Installation

PanAndZoom

Install the control package:

dotnet add package PanAndZoom

Or add a package reference:

<ItemGroup>
  <PackageReference Include="PanAndZoom" Version="x.y.z" />
</ItemGroup>

ZoomBorder is a control, not a separate theme package, so there is no required StyleInclude step beyond your normal Avalonia application setup.

Namespace:

using Avalonia.Controls.PanAndZoom;

XAML namespace:

xmlns:paz="using:Avalonia.Controls.PanAndZoom"

HeadlessTestingFramework

Install the testing package:

dotnet add package HeadlessTestingFramework

For xUnit headless tests, you also need the standard Avalonia headless test packages used in this repository:

<ItemGroup>
  <PackageReference Include="Avalonia.Headless.XUnit" Version="11.3.9" />
  <PackageReference Include="Avalonia.Skia" Version="11.3.9" />
</ItemGroup>

Namespaces:

using Avalonia.HeadlessTestingFramework;
using Avalonia.HeadlessTestingFramework.Appium;
using Avalonia.HeadlessTestingFramework.Recording;

Sample App

The repository sample references the package directly from source:

  • samples/AvaloniaDemo.Base
  • samples/AvaloniaDemo.Desktop

That is the quickest way to confirm local environment setup before consuming the NuGet packages in another solution.

Related