This project is read-only.

Adorner over whole window

Jan 3, 2014 at 10:07 AM
I have an application which needs to disable the UI if it is disconnected from the server. I'd like to show an adorner which effectively "smokescreens" the UI and displays a "disconnected" message.

Attaching an adorner at the right place isn't easy because of how the MUI Windows are constructed.

Does anyone have any idea how I can mimic modal dialogs this way?
Jan 3, 2014 at 4:17 PM
Why not just display another normal window directly on top of the current ModernWindow, set its opacity it to dim the ModernWindow below, and set IsHitTestVisible to false to not allow interaction?
Jan 3, 2014 at 4:23 PM
Ended up just using a modified copy of the style for the ModernWindow. I was hoping to avoid doing this, but it's not really a big problem.