DialogService in WPF apps?

Oct 9, 2015 at 8:31 PM
Are there any examples of implementing IDialogService in a WPF application? What is the recommended best practice for this?
Oct 9, 2015 at 8:41 PM

The simplest way is to leverage MessageBox.Show in your implementation, but it's not very elegant.

A more elegant way is to build a custom Windows and use this as a modal dialog box.

I know that I am super late in writing samples, life gets in the way a lot this year. Sorry about that.

Oct 26, 2015 at 3:51 PM
Please give a sample on how to use custom window as a modal/non modal dialog in bounds of MVVM Light.
Dec 17, 2015 at 6:11 PM
I would also like to see an example of how to implement IDialogService in a WPF application. I'm currently using MessageBox.Show, but it doesn't fit very well with the IDialogService methods. For example, you cannot override the text displayed on the MessageBox buttons.