How do I make modal dialog for a Page in my WPF-application?

前端 未结 4 617
盖世英雄少女心
盖世英雄少女心 2020-11-29 20:35

I have a WPF Window which has a among other controls hosts a Frame. In that frame I display different pages. Is there way to make a dialog modal to only a page? When I\'m sh

4条回答
  •  自闭症患者
    2020-11-29 20:59

    You are not looking for a modal dialog here. You need a function that will disable the "page" control, show a dialog, and re-enable it when the dialog closes.

    I'm not too sure whether you understand what a modal dialog is meant to do though?

提交回复
热议问题