Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
6238 | Aug 6,2003 06:53 AM UTC | Aug 6,2003 07:21 AM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
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;
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.