Error window show modal in MVVM WPF

前端 未结 6 2190
半阙折子戏
半阙折子戏 2021-01-02 15:25

I have implemented my MVVM error message as a message dialog that subscribes to error messages via a mediator class, so that other viewmodels can notify it if any errors occ

6条回答
  •  生来不讨喜
    2021-01-02 15:55

    You find an example how windows (don't matter if they are modal or not) are shown, in the ViewModel example of this project:

    WPF Application Framework (WAF)

    http://waf.codeplex.com

提交回复
热议问题