AvaloniaUI / Avalonia.Xaml.Behaviors

Port of Windows UWP Xaml Behaviors for Avalonia Xaml.
MIT License
395 stars 48 forks source link
action avalonia avaloniaui bahaviors behavior c-sharp interaction interactions interactivity multi-platform mvvm xaml

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:

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.