| title |
|---|
Installation |
Install the control package:
dotnet add package PanAndZoomOr 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"Install the testing package:
dotnet add package HeadlessTestingFrameworkFor 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;The repository sample references the package directly from source:
samples/AvaloniaDemo.Basesamples/AvaloniaDemo.Desktop
That is the quickest way to confirm local environment setup before consuming the NuGet packages in another solution.