Avalonia.Xaml.Interactivity by Wiesław Šoltés

<PackageReference Include="Avalonia.Xaml.Interactivity" Version="0.10.6.2" />

 Interaction

public sealed class Interaction
Defines a BehaviorCollection attached property and provides a method for executing an ActionCollection.

Gets or sets the BehaviorCollection associated with a specified object.

public Interaction()

public static IEnumerable<object> ExecuteActions(object sender, ActionCollection actions, object parameter)

Executes all actions in the ActionCollection and returns their results.

Gets the BehaviorCollection associated with a specified object.

public static void SetBehaviors(IAvaloniaObject obj, BehaviorCollection value)

Sets the BehaviorCollection associated with a specified object.