/Avalonia.Xaml.Behaviors

Port of Windows UWP Xaml Behaviors for Avalonia Xaml.

Primary LanguageC#MIT LicenseMIT

Repository was moved!

New location is https://github.com/wieslawsoltes/Avalonia.Xaml.Behaviors

Avalonia XAML Behaviors

Gitter

Build Status CI

NuGet NuGet MyGet

AvaloniaBehaviors is a port of Windows UWP version of XAML Behaviors for Avalonia XAML.

Avalonia XAML Behaviors is an easy-to-use means of adding common and reusable interactivity to your Avalonia applications with minimal code. Avalonia port is available only for managed applications. Use of XAML Behaviors is governed by the MIT License.

Building Avalonia XAML Behaviors

First, clone the repository or download the latest zip.

git clone https://github.com/wieslawsoltes/AvaloniaBehaviors.git

Build on Windows using script

Open up a command-prompt and execute the commands:

.\build.ps1

Build on Linux using script

Open up a terminal prompt and execute the commands:

./build.sh

Build on OSX using script

Open up a terminal prompt and execute the commands:

./build.sh

NuGet

Avalonia XamlBehaviors is delivered as a NuGet package.

You can find the packages here NuGet and install the package like this:

Install-Package Avalonia.Xaml.Behaviors

or by using nightly build feed:

  • Add https://www.myget.org/F/xamlbehaviors-nightly/api/v2 to your package sources
  • Alternative nightly build feed https://pkgs.dev.azure.com/wieslawsoltes/GitHub/_packaging/Nightly/nuget/v3/index.json
  • Update your package using XamlBehaviors feed

and install the package like this:

Install-Package Avalonia.Xaml.Behaviors -Pre

Package Sources

Resources

License

Avalonia XAML Behaviors is licensed under the MIT license.