async void OnAlertYesNoClicked(object sender, EventArgs e) { bool answer = await DisplayAlert("Alert", "Are you sure you want to dete this control?", "Yes", "No"); if (answer) { _viewModel.OnDelete(); } }
async void OnAlertYesNoClicked(object sender, EventArgs e) { bool answer = await DisplayAlert("Alert", "Are you sure you want to dete this control?", "Yes", "No"); if (answer) { _viewModel.OnDelete(); } }