Hi
<DataTemplate DataType="{x:Type vm:MyViewModel1}">
<StackPanel DataContext="{Binding}">
<!--template-->
</StackPanel>
</DataTemplate>
the above code works fine except the case of generic class
examples:
MyViewModel2<T>
MyViewModel3<TAcad, TCivil>
i'm using .Net Framework 4.7 Wpf ClassLibrary project
any help will be appreciated, thanks in advance.