We are new to Window application and we are developing a window application based on WPF. We are using MVVM architecture pattern along with PRISM framework. We have used Telerik control to make rich UI for application.
We have Developed the Modular application in PRISM as shown in Prism Sample For WPF-07 Applications. In this we are having one main application will be having Bootstrapper class and reference of all the submodules.
We want to call alert box when certain operation perform by user is completed. We want to call this alert box from view model of many different pages, some are present in sub modules and few are present in Main application having bootstrapper.
We want to design common alert control which can be used across application.
In previously downloaded PRISM sample for WPF it was having codes sample for popup windows getting called from ViewModel as stated in this stack overflow question.
But this functionality no more exist in new Prism version. Also Sample application is not present for the new functionality of Dialog Service on Github.
We know now 'Interaction' is replaced by DialogService and following the documentation we have created the custom alert in main application, but how can we use this alert in all the sub modules?
How can we design custom common alert accessible from all the modules? Kindly help us to achieve this common functionality.