DataGridView.ColumnHeadersHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.