AD
Administrator
Syncfusion Team
April 20, 2004 05:19 PM UTC
To set gradient colors in a GridControl cell, you need to set the
grid[2,2].Interior = new BrushInfo(GradientStyle.Backwards, Color.Yellow, Color.Blue);
But in a GridDataBoundGrid, you cannot set style properties directly on a individual cell. Instead, you would use the technique in the KB referenced below to set the Interior property. The KB discusses setting the BackCOlor property, but you can also set the Interior property the same way.
http://www.syncfusion.com/Support/article.aspx?id=560