public float MeasureHeight(UITableView tableView, ProjectListRowDta rowData) { // Initialize the view's so they have the correct content for height calculations UpdateCell(rowData); // Remeasure the layout using the tableView width, allowing for grouped table view margins // and the disclosure indicator Layout.Measure(tableView.Bounds.Width - 20 - 18, float.MaxValue); // Grab the measured height return(Layout.GetMeasuredSize().Height); }
public void UpdateCell(ProjectListRowDta rowData) { ProjectDescrip.Text = rowData.Projectdescription; ProjectNum.Text = rowData.Projectno.ToString(); }