public virtual float GetHeight (UITableView tableView, NSIndexPath indexPath) { SizeF size = new SizeF (280, float.MaxValue); if (string.IsNullOrEmpty(Caption)) return Font.LineHeight+10; return tableView.StringSize (Caption, Font, size, UILineBreakMode.WordWrap).Height + 20; }