public IntermediatePageCell(GridDocumentRow row, GridDocumentCell cell, double x, double y, double width, double height) { Row = row; Cell = cell; X = x; Y = y; Width = width; Height = height; }
public double CalculateRowHeight(Graphics g, GridDocumentRow row) { return(!row.Cells.Any() ? 3 : row.Cells.Select(cell => CalculateCellHeight(g, cell)).Max()); }