Interface IVmDialogViewModel
Defines an MVVM ViewModel for a dialog. Basically just a regular ViewModel, except it holds a reference to the dialog and can react to dismissal by the user.
public interface IVmDialogViewModel : INotifyPropertyChanged
- Inherited Members
Properties
Dialog
A reference to the dialog.
VmDialogReference Dialog { get; set; }
Property Value
Methods
OnDismiss()
Called when the dialog is dismissed by the user, e.g. by clicking outside the dialog or by clicking a cancel button. This is called before the dialog is actually closed, so you can e.g. still do some cleanup work.
void OnDismiss()
OnDismissAsync()
Async version of OnDismiss()
Task OnDismissAsync()