Articles in this section
Category / Section

How to control the 'ColumnHeader' from assuming different sizes?

There are two ways to prevent the column headers from assuming different sizes.

1) By setting the 'WrapText' of the AnyHeaderCell to false.

C#

this.GridGroupingControl1.Appearance.AnyHeaderCell.WrapText = false;

VB

Me.GridGroupingControl1.Appearance.AnyHeaderCell.WrapText = false

2) By specifying the height of the column header.

C#

//Specify the height of the column header. This will prevent the column headers from assuming different sizes.

this.GridGroupingControl1.TableOptions.ColumnHeaderRowHeight = 60;

VB

' Specify the height of the column header. This will prevent the column headers from assuming different sizes.

Me.GridGroupingControl1.TableOptions.ColumnHeaderRowHeight = 60

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied