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.
Unfortunately, activation email could not send to your email. Please try again.

Gradient Color Cells within DataBoundGrid?

Thread ID:





13102 Apr 20,2004 11:17 AM Apr 20,2004 01:19 PM Windows Forms 1
Tags: GridControl
Vincent Lo
Asked On April 20, 2004 11:17 AM

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

Administrator [Syncfusion]
Replied On April 20, 2004 01:19 PM

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


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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.