AutoResizeColumnHeadersHeight Method
TOC
Collapse the table of content
Expand the table of content

DataGridView.AutoResizeColumnHeadersHeight Method

 

Adjusts the height of the column headers to fit the header contents.

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

NameDescription
System_CAPS_pubmethodAutoResizeColumnHeadersHeight()

Adjusts the height of the column headers to fit the contents of the largest column header.

System_CAPS_protmethodAutoResizeColumnHeadersHeight(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.

System_CAPS_pubmethodAutoResizeColumnHeadersHeight(Int32)

Adjusts the height of the column headers based on changes to the contents of the header in the specified column.

System_CAPS_protmethodAutoResizeColumnHeadersHeight(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.

Return to top
Show:
© 2016 Microsoft