WPF and Prism View Overlay

后端 未结 2 1106
一个人的身影
一个人的身影 2021-02-03 10:58

I need some help with overlaying views using the prism framework.Its a little more complexed than that so let me explain.I could be over-thinking this as well :D

i have

2条回答
  •  无人及你
    2021-02-03 11:38

    If you are using WPF + MVVM with Prism you can take a look at this Message View overlay controller. The nice part about this approach is you can write unit tests on you view model using a mock overlay controller and have the mock controller return the result that the user would choose in the overlay.

    You can find it here: http://presentationlayer.wordpress.com/2011/05/24/wpf-overlay-message-view-controller/

    Hope this helps

提交回复
热议问题