i have read the other question here on StackOverflow. I understand how to create messages between ViewModels/Objects. But I dont get how can i actually display a dialog. Can I see some code samples implementing this?
A:
using a mediator or messenger to communicate between viewmodels has nothing to do with the mvvm dialog problem. here is the way i show dialogs.
blindmeis
2010-10-06 12:13:40
so i just use a service to open dialogs eg. SaveFileDialog, OpenFileDialog or MessageBoxes?
jiewmeng
2010-10-07 03:38:14
correct :) the link i posted is for dialogs in general. for dialogs like SaveFileDialog, OpenFileDialog or MessageBoxes i use concrete services like WpfMessageboxService and so on. take a look at the cinch project http://cinch.codeplex.com/, there i get some really good stuff for mvvm.
blindmeis
2010-10-07 06:46:06