Is there a proper mvvm way to show CustomMessageBox from the view and get callback from it?

This sample is quite nice, but it uses hardcoded MessageBoxButton (only Yes/No/YesNo are avaivable, but i need custom buttons).

This contains lots ofuseful info about Messages in MvvmLight, but DialogMessage is also showing only YesNo sample (also no custom buttons).

有帮助吗?

解决方案

Figured out that Cimbalino toolkit (Cimbalino saves the day again!) has quite nice custom messagebox.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top