MonoTouch.Dialog.DialogViewController.SizingSource.GetHeightForRow C# (CSharp) Method

GetHeightForRow() public method

public GetHeightForRow ( UITableView tableView, MonoTouch indexPath ) : float
tableView UITableView
indexPath MonoTouch
return float
			public override float GetHeightForRow (UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath)
			{
				var section = Root.Sections [indexPath.Section];
				var element = section.Elements [indexPath.Row];
				
				if (element.Hidden) 
					return 0;
				var sizable = element as IElementSizing;
				if (sizable == null)
					return tableView.RowHeight;
				return sizable.GetHeight (tableView, indexPath);
			}
		}
DialogViewController.SizingSource