Ershad
Ershad

Reputation: 957

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.

Upvotes: 4

Views: 3384

Answers (2)

Ershad
Ershad

Reputation: 957

https://gist.github.com/903202.. Just use this popup which is created using the existing popup control.

Upvotes: 0

Stephen Holt
Stephen Holt

Reputation: 2368

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.

Upvotes: 1

Related Questions