We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Gradient Color Cells within DataBoundGrid?

is it possible to do that? can you give me some guidance on that? thanks

1 Reply

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

Live Chat Icon For mobile
Up arrow icon