public override void ViewDidLoad() { base.ViewDidLoad(); DialogView.AddBorder(Colors.PopUpShadowColor, 13); DialogView.AddShadow(Colors.PopUpShadowColor, 13, 0, 0); if (!String.IsNullOrEmpty(titleText)) { TitleLabel.Text = titleText; } if (!String.IsNullOrEmpty(messageText)) { MessageLabel.Text = messageText; } if (AttributedMessage != null) { MessageLabel.AttributedText = AttributedMessage; } if (!String.IsNullOrEmpty(leftButtonText)) { LeftButton.SetTitle(leftButtonText, UIControlState.Normal); } if (!String.IsNullOrEmpty(rightButtonText)) { RightButton.SetTitle(rightButtonText, UIControlState.Normal); } }