MonoTouch.Dialog.MultilineElement.GetHeight C# (CSharp) Метод

GetHeight() публичный Метод

public GetHeight ( UITableView tableView, NSIndexPath indexPath ) : float
tableView UITableView
indexPath NSIndexPath
Результат float
		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;
		}