using Avalonia.Reactive;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
///
/// A behavior that performs actions when the bound data produces new value.
///
public class ValueChangedTriggerBehavior : StyledElementTrigger
{
static ValueChangedTriggerBehavior()
{
BindingProperty.Changed.Subscribe(
new AnonymousObserver>(OnValueChanged));
}
///
/// Identifies the avalonia property.
///
public static readonly StyledProperty