Hello, I've looked through the documentation and examples for CM - but one thing about MVVM is a for me.
What decides the "hierarchy" of the viewmodels and what each viewmodel should contain?
By hierarchy, I mean an application might have a main chrome, menus and submenus, perhaps toolbars, Is the main chrome ("shellview") supposed to contain viewmodels for All the items which are or might become visible due to user interfaction?
By the second half of the question I'm wondering if the division of the viewmodels - is the diviison of things into user controls the determining factor or is there some other good pointer?
For example, if the application contains a menu, does binding related tothis menu have to be in a menuviewmodel or in shellviewmodel, why would i pick one over the other?