DataGridView.AutoResizeRow Method

 

Adjusts the height of the specified row to fit the contents of its cells.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodAutoResizeRow(Int32)

Adjusts the height of the specified row to fit the contents of all its cells including the header cell.

System_CAPS_pubmethodAutoResizeRow(Int32, DataGridViewAutoSizeRowMode)

Adjusts the height of the specified row using the specified size mode.

System_CAPS_protmethodAutoResizeRow(Int32, DataGridViewAutoSizeRowMode, Boolean)

Adjusts the height of the specified row using the specified size mode, optionally calculating the height with the expectation that column widths will subsequently be adjusted.

Return to top
Show: