Udostępnij za pośrednictwem


DataGridView.AutoResizeRow Method (2007 System)

Include Protected Members
Include Inherited Members

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

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

AutoResizeRow(Int32)

Adjusts the height of the specified row to fit the contents of all its cells including the header cell. (Inherited from DataGridView.)

Public method

AutoResizeRow(Int32, DataGridViewAutoSizeRowMode)

Adjusts the height of the specified row using the specified size mode. (Inherited from DataGridView.)

Protected method

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

Top

See Also

Reference

DataGridView Class

DataGridView Members

Microsoft.Office.Tools.Word.Controls Namespace