Popup always stays on top

前端 未结 7 1956
傲寒
傲寒 2020-12-05 15:20

I\'ve WPF application which has one Main window on which I\'m opening a Popup window. The problem I\'m facing is the Popup window always stays on top. If I open some other a

7条回答
  •  感情败类
    2020-12-05 15:23

    Check the Window.Topmost property whitch is indicates that window should be always on top.

    PopupWindow wnd = new PopupWindow();
    wnd.ShowDialog();
    

提交回复
热议问题