I have XBAP application and I wanted to understand why can't I use modal windows (child/ top level window) in spite of Full Trust Mode
In other words, why the ShowDialog method is asynchronously called when used in XBAP?
Thanks for you answer.
The ShowDialog
method in XBAP
is asynchronous - this means that it returns immediately and shows a modal window (it works like in Silverlight). In WPF
desktop application this method is synchronous - this behavior comes from the standard Window control.
The window that is shown when you call the ShowDialog
method is still modal, no matter it is shown asynchronously. there is a work around for that, I didn't liked it tho : How to implement modal dialog for XBAP
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.