9

Prism Dialog Window not Working

 3 years ago
source link: https://brianlagunas.com/prism-dialog-window-not-working/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Prism Dialog Window not Working

I recently had a comment from one of my subscribers about an issue they were having with their Prism dialog window not working. As you may already know, Prism provides a built-in dialog service which allow you to display custom dialogs to your end-users. Not only that, but you can also provide your very own custom dialog window.

In this scenario. Aniq was using a 3rd party control library call ModernWPF as his custom dialog window. He properly registered both is dialog and his dialog window with Prism. When he would invoke the dialog service to show the dialog using his custom dialog window, the dialog window would show, but or some reason when closing the dialog window the dialog window not working. meaning the dialog service callback was not being invoked.

Aniq sent me his WPF Prism application showing the dialog window not working, and asked if I could fix it. Of course I will. In fact, we will fix it together.

I hope you enjoy this Holiday inspired episode of “I’ll Fix your Code” in which we solve the question, “Why is the Prism dialog window not working?”.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK