Home Forums WinForms controls Xceed Grid for WinForms Change font style of grid column headers Reply To: Change font style of grid column headers

Diane [Xceed]
Moderator
Post count: 1353

Hi Michael,

The headers are found in the ColumnManagerRow, and you can change its Font and ForeColor.

For example:

   StyleSheet styleSheet = new StyleSheet();
   styleSheet.ColumnManagerRow.ForeColor = Color.Green;
   styleSheet.ColumnManagerRow.Font = new Font(“Verdana”, 8, FontStyle.Bold);
   gridControl.ApplyStyleSheet( styleSheet );

Imported from legacy forums. Posted by Diane [Xceed] (had 323 views)