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.
First, clone the repository or download the latest zip.
git clone https://github.com/wieslawsoltes/AvaloniaBehaviors.git
Open up a command-prompt and execute the commands:
.\build.ps1
Open up a terminal prompt and execute the commands:
./build.sh
Open up a terminal prompt and execute the commands:
./build.sh
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
Avalonia XAML Behaviors is licensed under the MIT license.