public bool ShowConfirmation(string message, string title)

private void Save()

public partial class MyDialog : Window

public class MainViewModel : INotifyPropertyChanged

await Task.Delay(50); progressDialog.UpdateProgress(i, 100, $"Step i+1 of 100");

public bool Confirmed get; set; public T Data get; set;

private Type GetWindowTypeForViewModel(Type viewModelType)

MessageBox The simplest dialog for alerts and confirmations: