Popup always stays on top

前端 未结 7 1966
傲寒
傲寒 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:37

    Create your PopUp window modal to the parent control only, as demonstrated by Billy Holli and Brad Leach. That way it will stay on top of the application/window which opened the popup control, but will not stay on top of other windows/applications any longer.

提交回复
热议问题