Bindings uses only "dynamic" properties when DataGrid item inherited from IReflectableType #15867
Labels
area-bindings
area-datagrid
bug
help-wanted
A contribution from the community would be most welcome.
Describe the bug
Hello!
I'm trying to use IReflectableType to bind to "dynamic" properties. I read about them here:
#5225
#8119
In particular, I'm trying to implement a binding to the "dynamic" properties of DataGrid items. And I came across this behavior: when an element type inherits from IReflectableType, the search for a property to bind is performed only among "dynamic" properties.
I have datagrid with 3 columns. Frist and second columns bound to "regular" properties, Third column bound to "dynamic" property.
To Reproduce
https://github.com/BreakByBrick/Avalonia.Issue/tree/main/DataGrid.DynamicPropertyBinding
Expected behavior
I think that when an element type inherits from IReflectableType, it should use both "regular" and "dynamic" properties.
Avalonia version
11.0.10
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: