Popup always stays on top

前端 未结 7 1964
傲寒
傲寒 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:46

    This solved my problem.

    PopupForm pf = new PopupForm();
    pf.Owner = this;
    pf.Topmost = false;
    pf.ShowDialog()
    

提交回复
热议问题