UWP App with multiple frames using the MVVM pattern -


is there library / framework simplify universal windows platform app development of application contains multiple frames.

i mean, using mvvm light or bezysoftware mvvm-navigation application highly tied idea of navigating between different pages hosted single frame.

the ui try develop consist of multiple content frames (main, left, right) content varies. need let me navigate between different views (by placing these views appropriate frame) , provide same features have bezysoftware mvvm-navigation, so:

  • handling of view model state persistence
  • the ability activate / query deactivate view models
  • back button feature

few different options:

  1. combination of single navigation service injected view model , user controls areas need repeated view view (e.g. tabs, status bars, etc). route, every time create new view paste in common user controls need appear. able expose bindable properties said user controls.

  2. combination of contentcontrol, datatemplate, , datatemplateselector load in either entire view (page) or fragments of xaml. 1 person pointed out cannot use datatype attribute, instead use datatemplateselector class mapping you. approach can use triggers dynamically change template (content) based on changes properties on view model and/or user interactions.

  3. a mix between 1 , 2 above.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -