Andrew Arnott
Andrew Arnott

Reputation: 81801

What is the Avalonia data binding equivalent to `UpdateSourceTrigger=PropertyChanged`?

How do I set , UpdateSourceTrigger=PropertyChanged on a xaml {Binding} in Avalonia? When I try, compilation fails with:

System.Xaml.XamlException: 'Unable to resolve suitable regular or attached property UpdateSourceTrigger on type Avalonia.Markup.Xaml:Avalonia.Markup.Xaml.MarkupExtensions.ReflectionBindingExtension Line 91, position 100.' Line number '91' and line position '100'.

Upvotes: 1

Views: 1953

Answers (1)

Max Katz
Max Katz

Reputation: 211

It is always PropertyChanged. I.e., other options are not supported. See https://github.com/AvaloniaUI/Avalonia/issues/3754

Upvotes: 3

Related Questions