displayalert function code example Example: xamarin forms show alert await App.Current.MainPage.DisplayAlert("Title", "message content", "OK");