You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In WPF I use DynamicObject so my POCOs that house raw data in value and display arrays can displayed and sorted properly. It's quite powerful in WPF allowing me to display any object into a DataGrid with my own column header and cell templates as defined by the complex datatypes in my generic POCOs. I also use the DynamicObject base class so I can dynamically update values in real-time. I ported my views to Avalonia, however the calls to TryGetMember are never called causing the view display empty values. This has already been documented here:
Describe the bug
In WPF I use DynamicObject so my POCOs that house raw data in value and display arrays can displayed and sorted properly. It's quite powerful in WPF allowing me to display any object into a DataGrid with my own column header and cell templates as defined by the complex datatypes in my generic POCOs. I also use the DynamicObject base class so I can dynamically update values in real-time. I ported my views to Avalonia, however the calls to TryGetMember are never called causing the view display empty values. This has already been documented here:
AvaloniaUI/Avalonia#12527
To Reproduce
Follow the link above, use the code in the post and bind a datagrid to the DynamicObject. Notice the TryGetMember is never called.
Expected behavior
The .Net class methods found in DynamicObject should be called.
Avalonia version
11.1.3
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: