예제 #1
0
 public override nfloat GetRowHeight(NSTableView tableView, nint row)
 {
     var height = tableView.RowHeight;
     for (int i = 0; i < tableView.ColumnCount; i++) {
         var cell = tableView.GetCell (i, row);
         if (cell != null)
             height = (nfloat) Math.Max (height, cell.CellSize.Height);
     }
     return height;
 }