private async Task <bool> Confirm() { var dialog = new ConfirmationDialog { MessageTextBlock = { Text = "Are you sure you wish to do this? " + currentResult.Files.Count + " files will be permanently deleted." } }; var result = await DialogHost.Show(dialog); return("1".Equals(result)); }
private async Task<bool> Confirm() { var dialog = new ConfirmationDialog { MessageTextBlock = { Text = "Are you sure you wish to do this? " + currentResult.Files.Count + " files will be permanently deleted." } }; var result = await DialogHost.Show(dialog); return "1".Equals(result); }