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