[]
Resizes a row range to fit their visible contents.
public void AutoSizeRows(int startRow, int endRow, double extra)
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. |
Resizes a row range to fit their content.
public void AutoSizeRows(int startRow, int endRow, double extra, bool allCells)
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. |
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.