Home Forums WinForms controls Xceed Grid for WinForms How can i make one column header different with others Reply To: How can i make one column header different with others

User (Old forums)
Member
Post count: 23064

You can access each header through the Cells collection on the ColumnManagerRow, and then set its properties.   However, if the GridControl.UIStyle property is not set to Classic, you will also need to set the OverrideUIStyle property.

e.g.:

columnManagerRow1.Cells[ “SomeColumn” ].OverrideUIStyle = true;

columnManagerRow1.Cells[ “SomeColumn” ].BackColor = Color.Red;

 

Imported from legacy forums. Posted by André (had 765 views)