public override nfloat GetHeightForRow(UITableView tableView, NSIndexPath indexPath) { const string cellIdentifier = "cellPosition"; SettingsCoordinateFormatTableCell settingsCoordinateFormatTableCell = tableView.DequeueReusableCell(cellIdentifier) as SettingsCoordinateFormatTableCell; return(settingsCoordinateFormatTableCell.Bounds.Height); }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { const string cellIdentifier = "cellPosition"; SettingsCoordinateFormatTableCell settingsCoordinateFormatTableCell = tableView.DequeueReusableCell(cellIdentifier) as SettingsCoordinateFormatTableCell; var row = coordinateRows[indexPath.Row]; settingsCoordinateFormatTableCell.SetContent(row.Title, row.Sub1, row.Sub2); settingsCoordinateFormatTableCell.BackgroundColor = ColorHelper.FromType(ColorType.SecondarySystemGroupedBackground); return(settingsCoordinateFormatTableCell); }