public override void DrawRect(CGRect dirtyRect) { if (iconImage == null || resultString == null) { return; } iconImage.Draw(new CGRect(0, (Frame.Size.Height - iconImage.Size.Height) / 2, iconImage.Size.Width, iconImage.Size.Height)); resultString.DrawAtPoint(new CGPoint(iconImage.Size.Width, (Frame.Size.Height - resultString.Size.Height) / 2)); }