[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.C1FlexGrid.AutoSizeFixedRows

AutoSizeFixedRows Method

AutoSizeFixedRows(int, int, double)

Resizes a range of fixed rows to fit their visible contents.

Declaration
public void AutoSizeFixedRows(int startRow, int endRow, double extra)
Parameters
Type Name Description
int startRow

Index of the first row to resize.

int endRow

Index of the last row to resize.

double extra

Extra height to add to the row, in pixels.

AutoSizeFixedRows(int, int, double, bool)

Resizes a range of fixed rows to fit their content.

Declaration
public void AutoSizeFixedRows(int startRow, int endRow, double extra, bool allCells)
Parameters
Type Name Description
int startRow

Index of the first row to resize.

int endRow

Index of the last row to resize.

double extra

Extra height to add to the row, in pixels.

bool allCells

Whether to measure all cells, including those that are not currently visible.

Remarks

Setting the allCells parameter to true causes the grid to create and measure cell elements for the entire grid content, including rows and columns that are not currently visible. This option may be very time consuming if the grid contains a lot of data.