Open timunie opened 1 year ago
I had a deeper look. Seems to be an issue in Avalonia, where the Converter is ignored internally. This line seems to be the root cause:
Any news on this issue? This prevents the proper usage of the treeview when using heterogeneous data structures.
I guess that my initial idea would result in a breaking change (see Draft PR) which is not acceptable for the 11.x time frame. Maybe @grokys has an idea?
@timunie is there a way for me to manually hack a custom TreeDataTemplate
that supports binding converters? I can implement my own ITreeDataTemplate
, but I don't know what I have to do with ItemsSelector
for it to work with a converter.
Discussed in https://github.com/AvaloniaUI/Avalonia/discussions/10347