The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataGridView::ColumnHeadersHeight Property
.NET Framework (current version)
Gets or sets the height, in pixels, of the column headers row
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Int32The height, in pixels, of the row that contains the column headers. The default is 23.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified value when setting this property is less than the minimum height of 4 pixels or is greater than the maximum height of 32768 pixels. |
.NET Framework
Available since 2.0
Available since 2.0
Show: