How do I determine if a WPF window is modal?

http://stackoverflow.com/questions/368926/how-do-i-determine-if-a-wpf-window-is-modal

http://stackoverflow.com/questions/5093899/close-all-open-modal-dialog-windows

 

System.Windows.Interop.ComponentDispatcher.IsThreadModal

But if show MessageBox or other native dialog, this API is unhelp.

posted @ 2013-04-24 09:16  xiaokang088  阅读(254)  评论(0编辑  收藏  举报