Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Loading views from various modules upon pressing Ribbon buttons in PRISM

$
0
0
I'm developing WPF application using PRISM. I have two regions :
  1. Ribbon region (which has got buttons to launch views from different modules)
  2. View Region (in which views from different modules will be loaded but one view at a time)
I have separate module assemblies for Ribbon and views (i.e. CustomerModule, OrderModule, etc.). My ribbon has got buttons which should load view from modules i.e. pressing "Customer" button should load the specific view from "CustomerModule", pressing "OrderModule" should load the specific view from "OrderModule", etc.

Can someone provide code snippet on how I should implement the command for my ribbon buttons to launch the view from different module assemblies? I'm not sure on how I can access the view module information into my ribbon module?

Regards,


Krunal C


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>