async void CompleteButton_OnClicked(Object sender, EventArgs e) { if (!SignaturePadView.GetDrawPoints().Any()) { await this.SignOrderPageViewModel.NoSignatureFound(); } else { var result = ImageStreamToBytes(SignaturePadView.GetImage(ImageFormatType.Png)); await this.SignOrderPageViewModel.SignatureComplete(result); } }