Udostępnij za pośrednictwem


DataGridView.AutoResizeColumnHeadersHeight Method (2007 System)

Include Protected Members
Include Inherited Members

Adjusts the height of the column headers to fit the header 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

AutoResizeColumnHeadersHeight()

Adjusts the height of the column headers to fit the contents of the largest column header. (Inherited from DataGridView.)

Public method

AutoResizeColumnHeadersHeight(Int32)

Adjusts the height of the column headers based on changes to the contents of the header in the specified column. (Inherited from DataGridView.)

Protected method

AutoResizeColumnHeadersHeight(Boolean, Boolean)

Adjusts the height of the column headers to fit their contents, optionally calculating the height with the expectation that the column and/or row header widths will subsequently be adjusted. (Inherited from DataGridView.)

Protected method

AutoResizeColumnHeadersHeight(Int32, Boolean, Boolean)

Adjusts the height of the column headers based on changes to the contents of the header in the specified column, optionally calculating the height with the expectation that the column and/or row header widths will subsequently be adjusted. (Inherited from DataGridView.)

Top

See Also

Reference

DataGridView Class

DataGridView Members

Microsoft.Office.Tools.Word.Controls Namespace