Export (0) Print
Expand All

DataGridView.AutoResizeRows Method

Adjusts the heights of some or all rows to fit their contents.

Name Description
DataGridView.AutoResizeRows () Adjusts the heights of all rows to fit the contents of all their cells, including the header cells.
DataGridView.AutoResizeRows (DataGridViewAutoSizeRowsMode) Adjusts the heights of the rows using the specified size mode value.
DataGridView.AutoResizeRows (DataGridViewAutoSizeRowsMode, Boolean) Adjusts the heights of all rows using the specified size mode, optionally calculating the heights with the expectation that column widths will subsequently be adjusted.
DataGridView.AutoResizeRows (Int32, Int32, DataGridViewAutoSizeRowMode, Boolean) Adjusts the heights of the specified rows using the specified size mode, optionally calculating the heights with the expectation that column widths will subsequently be adjusted.

Community Additions

ADD
Show:
© 2014 Microsoft