WPF: Best way to raise a popup window that is modal to the page?

后端 未结 4 1401
不知归路
不知归路 2021-02-04 05:32

I am building a WPF app using navigation style pages and not windows. I want to show a window inside a page, this window must be modal to the page, but allow the user to go to

4条回答
  •  粉色の甜心
    2021-02-04 06:16

    Windows doesn't like you to do that - it's not a WPF thing. Use an overlying panel and use the visible or zorder property.

    Wikipedia has a good discussion.

提交回复
热议问题