DataGridView.ColumnHeadersHeight DataGridView.ColumnHeadersHeight DataGridView.ColumnHeadersHeight DataGridView.ColumnHeadersHeight Property

Definition

Gets or sets the height, in pixels, of the column headers row

public:
 property int ColumnHeadersHeight { int get(); void set(int value); };
public int ColumnHeadersHeight { get; set; }
member this.ColumnHeadersHeight : int with get, set
Public Property ColumnHeadersHeight As Integer

Property Value

The height, in pixels, of the row that contains the column headers. The default is 23.

Exceptions

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.

Applies to