System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize Field

The column header height adjusts to fit the contents of all the column header cells.

Syntax

DataGridViewColumnHeadersHeightSizeMode AutoSize

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0