AD
Administrator
Syncfusion Team
January 6, 2005 12:08 AM UTC
You normally do not ''set'' row colors in a GridDataBoundGrid. You would handle PrepareViewStyleInfo and dynamically provide the backcolor of cells on demand. In this manner, you can provide row colors.
You can get the column colors through the GridBoundColumn.StyleInfo.BackColor property. You get these from either the grid.GridBoundColumns collection or the grid.Binder.InternalColumns collections depending upon whther you have explicitly added GridBoundColumns or not.