A window that behaves both modally and non-modally

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-14T14:33:52Z Indexed on 2010/05/14 14:54 UTC
Read the original article Hit count: 191

Filed under:
|
|

I want to create a WPF window that behaves as a modal dialogue box while at the same time facilitating selected operations on certain other windows of the same application. An example of this behaviour can be seen in Adobe Photoshop, which offers several dialogues that allow the user to use an eyedropper tool to make selections from an image while disabling virtually all other application features.

I'm guessing that the way forward is to create a non-modal, always-on-top dialogue and programmatically disable those application features that are not applicable to the dialogue. Is there an easy way to achieve this in WPF? Or perhaps there's a design pattern I could adopt.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about modal