Replies: 2 comments 2 replies
|
1 reply
|
Another opportunity is to implement |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
In Avalonia 11 and earlier versions, I used a custom IPropertyAccessorPlugin registered via BindingPlugins.PropertyAccessors.Insert(0, ...) to support direct binding to ExpandoObject using standard {Binding PropertyName} syntax in XAML.
Starting from Avalonia 12, the entire BindingPlugins, IPropertyAccessorPlugin and related binding plugin infrastructure has been removed.
Now my existing logic for binding ExpandoObject no longer works.
Avalonia 12,I use ExpandoObjectWrapper
When using indexer binding syntax {Binding Wrapper[Key]} in Avalonia 12 stable:
OnPropertyChanged("Item[Key]") has no effect
OnPropertyChanged("[Key]") has no effect
Only OnPropertyChanged(string.Empty) can trigger UI refresh for index bindings.
There is no supported way to send targeted property change notification for indexer bindings, which forces full object refresh every time any dynamic key changes.
All reactions