tags:

views:

1182

answers:

1

Is it possible for Owner window in WPF be on top of Child window when you click on it while Owner window is below Child window?

here is example how I call child window:

Window2 window = new Window2();
window.Owner = this;
window.Show();

Parent/Owner window will always be under child window.

+1  A: 

To get the behavior you want, you don't want to set the Owner on either window.

You, of course will have to handle the logic yourself when closing either of the windows to close your imaginary "child" window.

There may be some other logic you'll have to implement related to minimizing, maximizing, etc.

Jonathan.Peppers