mvvm - Sub-modules within a Region in WPF Prism -
i have 3 modules within wpf application (module a, b , c). module c has sub-modules (c1, c2, ..., c5). in fact, module c it's "container" sub-modules, not sure if module c module. wondering best design following prism approach. @ moment solution schema:
prismmodularapp
- app.config - app.xaml - bootstrapper.cs - shell.xaml
prismmodularapp.controls
prismmodularapp.infrastructure
- regionnames.cs
prismmodularapp.modules.a
- aviewmodel.cs - anavigationitemview.xaml - aview.xaml - amodule.cs
prismmodularapp.modules.b
- bviewmodel.cs - bnavigationitemview.xaml - bview.xaml - bmodule.cs
prismmodularapp.modules.c
- cviewmodel.cs - cnavigationitemview.xaml - cview.xaml - cmodule.cs
my shell has 2 regions: maincontentregion , mainnavigationregion:
every module has 2 views (xnavigationitemview , xview) 1 mainnavigationregion , other 1 maincontentregion
the module c (the 1 told container sub-modules c1, c2, ... c5) has area in maincontentregion sub-navigation between sub-modules c1, c2, ... c5:
so, what's best approach solution? ideas?
Comments
Post a Comment