Hello,
In my project, i have to create an administration interface with a menu. At each clic on this menu, a new tab will open.
Because, i am in MVVM, each tab is a ViewModel different (which inherit from the same ViewModel base class) and a View different.
I have define an ItemTemplate for override the header but it's common for all tabs instead of the content is not.
My TabControl is binded to an ObservableCollection of ViewModel base class.
I had open your C# example but in it, all tabs have the same content template.
So, how can i load the right view in interface according to its ViewModel ?
I use MVVM-Light and many thinks for your help !
Regards,
Guillaume
In my project, i have to create an administration interface with a menu. At each clic on this menu, a new tab will open.
Because, i am in MVVM, each tab is a ViewModel different (which inherit from the same ViewModel base class) and a View different.
I have define an ItemTemplate for override the header but it's common for all tabs instead of the content is not.
My TabControl is binded to an ObservableCollection of ViewModel base class.
I had open your C# example but in it, all tabs have the same content template.
So, how can i load the right view in interface according to its ViewModel ?
I use MVVM-Light and many thinks for your help !
Regards,
Guillaume