I want to switch between two views that have different bindings and controls. Can I do this using DataTemplateSelector? <…
c# wpf mvvm datatemplateselectorBasically, I have the following scenario: ViewModel: FooViewModel : BaseViewModel, BarViewModel : BaseViewModel Views: MainView, FooView, BarView Right now I "inject" the …
wpf mvvm prism datatemplate datatemplateselectorI have a grid bound to a collection of VMs. When using DataTemplateSelector for my DataGridTemplateColumn I'm getting the whole …
c# wpf datagrid datatemplateselector