Skip to content

How to set a generic type to DataType property of a DataTemplate? #19374

Answered by RobinsonWM
jyswjjgdwtdtj asked this question in Q&A
Discussion options

You must be logged in to vote

There were some enhancements for this in Avalonia 11.2.6. You could look at PR #18379, particularly the changes in samples/BindingDemo/MainWindow.xaml.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jyswjjgdwtdtj
Comment options

Answer selected by jyswjjgdwtdtj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants