Export (0) Print
Expand All

DataGridView.AutoResizeColumnHeadersHeight Method

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.

  Name Description
Public method AutoResizeColumnHeadersHeight() Adjusts the height of the column headers to fit the contents of the largest column header.
Public method AutoResizeColumnHeadersHeight(Int32) Adjusts the height of the column headers based on changes to the contents of the header in the specified column.
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.
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.
Top
Show:
© 2014 Microsoft