This commit is contained in:
TheXamlGuy
2024-05-04 22:35:12 +01:00
parent fe07d9e994
commit 53efbb13c5
7 changed files with 146 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
using Avalonia.Xaml.Interactivity;
namespace Toolkit.UI.Avalonia;
public class AttachedBehaviour : Trigger
{
protected override void OnAttachedToVisualTree()
{
Interaction.ExecuteActions(AssociatedObject, Actions, null);
base.OnAttachedToVisualTree();
}
}