0
votes

Sometimes, modal dialogs in Prism 6 for WPF behave themselves as non-modal. For example if a modal dialog is over its parent window and I click on the surface of parent (near the modal dialog's border) then the parent obstructs the modal dialog, so after it I see the modal dialog's parent window not the modal dialog itself on the screen. Is there a way to create strong modal dialogs in Prism 6 WPF MVVM application or I should use WPF MesageBox dialog class to get strong modal dialogs in such application?

2

2 Answers

0
votes

I assume you are using PopupWindowAction with IsModal=true property.

Make sure you are using the latest Prism version 6.2 which contains a fix for setting the dialog window owner: https://github.com/PrismLibrary/Prism/wiki/Release-Notes-6.2.0, fix #228: https://github.com/PrismLibrary/Prism/issues/228