Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
private async void Button_Clicked(object sender, EventArgs e) { var answer = await Application.Current.MainPage.DisplayAlert("Confirm", $"Cancel this order?", "Yes", "No"); if (answer) { var order = (sender as Button).CommandParameter as Model.ObservableLists.OrderItem; _viewModel.CancelOrder(order); } }