xamarin display alert on cancel pressed code example
Example: xamarin forms show alert
await App.Current.MainPage.DisplayAlert("Title", "message content", "OK");
await App.Current.MainPage.DisplayAlert("Title", "message content", "OK");