DevExpress XtraGrid Column Header Height Adjustment

To set the height of column headers in DevExpress's XtraGrid object (control), follow the procedure below.

  • 1 - "Run Designer" opens.
  • 2 - The desired value is assigned to the "ColumnPanelRowHeight" property.

An example of setting it as code is given below..

myListGridView.ColumnPanelRowHeight = 15;


You May Interest

DevExpress XtraGrid Setting Cell Text Color by Column

DevExpress XtraGrid Selecting Entire Row on Row Click

DevExpress XtraGrid Setting Color of Selected Row

DevExpress XtraGrid Selecting Only Cell on Row Click

Freezing a DevExpress XtraGrid Column