My scenario:
I am NOT using PRISM
My ViewModel has buttons (add, edit, delete... the usual) which works fine. I need to move these buttons into that bottom section (as in the image).
Problem is, the buttons will be out of scope of my ViewModel since they're moving into the Shell.
Idea that I had:
I tried this, but it seems that the new DataTemplate on a view never gets reflected.
Any ideas on the DataTemplates can work? Or How can I define different controls in the bottom section per ViewModel, but the events they fire must be inscope of my current ViewModel?
Thanks in advance.
My solution eventually was to simply put the "commands section" within the view model at the bottom instead of in the Shell view model
See the New Layout