The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team August 6, 2003 07:21 AM UTC
To get the color of the column header cells, you would use:
Color c = grid.Model.BaseStylesMap["Column Header"].StyleInfo.BackColor;
How to set it for a column depends upon teh type of grid you are using:
//griddataboundgrid with no explicitly added GridBoundColumns
grid.Binder.InterbaleColumns["columnname"].StyleInfo.BackColor = c;
//gridcontrol
grid.ColStyles[2].BackColor = c;