Completely Modal WPF Window?

落爺英雄遲暮 提交于 2019-12-03 15:42:05
Alex Shtof

Use the Window.ShowDialog() method. More info can be found here

See the second comment by sixlettervariables.

Thorsten Dittmar

One solution could be to make a semi transparent WPF window that covers the entire screen (actually you should say: all screens) and show the modal window using Window.ShowDialog() with the owner being that window. All you need to do then is prevent task switching (which is not an easy task), but maybe doing that is enough?

Something like UAC does - for example like in the answer to this?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!