This example demonstrates how to work with the opened dialog directly from its View Model. The CurrentDialogService allows you to create a View Model command that closes the dialog with the specified result.
- MainView.xaml (VB: MainView.xaml)
- MainViewModel.cs (VB: MainViewModel.vb)
- SimpleDialogView.xaml (VB: SimpleDialogView.xaml)
- SimpleDialogViewModel.cs (VB: SimpleDialogViewModel.vb)
(you will be redirected to DevExpress.com to submit your response)