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;
		}