Udostępnij za pośrednictwem


DataGridView.AutoResizeRows Method (2007 System)

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

AutoResizeRows()

Adjusts the heights of all rows to fit the contents of all their cells, including the header cells. (Inherited from DataGridView.)

Public method

AutoResizeRows(DataGridViewAutoSizeRowsMode)

Adjusts the heights of the rows using the specified size mode value. (Inherited from DataGridView.)

Protected method

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. (Inherited from DataGridView.)

Protected method

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. (Inherited from DataGridView.)

Top

See Also

Reference

DataGridView Class

DataGridView Members

Microsoft.Office.Tools.Word.Controls Namespace