简体   繁体   中英

How to get message box on top of the Popup control in WPF?

We are showing an error message from the popup control.Message box is coming but it is coming behind the popup control. How do i make popup to go back or message box to come in front. It is with MVVM.

I don't think there's anything you can do about this.

Have a look at WPF Popup ZOrder

The solution suggested there is to implement your own popup control instead of using the inbuilt one, and just raise its Z index so it appears where you want it to.

https://gist.github.com/903202 ..只需使用使用现有弹出控件创建的弹出窗口。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM