0
我在我的WPF应用程序中使用MVVM模式。现在,我告诉我的dialogService一个对话框:WPF MVVM DialogService关闭模式对话框?
_dialogService.ShowDialog(Me, settingsViewModel)
的映射(其中视图应该显示这个视图模型)是在WindowViewModelMappings类设置。
我现在的问题是:如何关闭settingsViewModel中的对话框?
谢谢。
似乎是重复 [这一]根据[1] [1]:http://stackoverflow.com/questions/501886/wpf-mvvm-newbie-how-should-the -viewmodel密的形式 – Oskar 2011-10-14 05:07:24