Show .vs. ShowDialog for main window

Topics: Prism v1, Prism v2 - WPF 3.5
Nov 11, 2009 at 11:44 PM
Edited Nov 13, 2009 at 4:54 AM

Hi All,

I got a requirement that open the main composite window as a modal dialog. This means the third part applications need to open my WPF composite window on the top of others and disable to access others until it close.

I tried to use the ShowDialog to open the main composite window. Unfortunately looks the composite regions havenot been activated (the region adaptors didnot work at all).

Any idea?


 Looks it's a silly question. Just realized the ShowDialog() would not return so the CAL would not load the regions through adaptors. That's the reason. I withdraw my question.

Thanks all