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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Gradient Color Cells within DataBoundGrid?

Thread ID:





13102 Apr 20,2004 03:17 PM UTC Apr 20,2004 05:19 PM UTC WinForms 1
Tags: GridControl
Vincent Lo
Asked On April 20, 2004 03:17 PM UTC

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

Administrator [Syncfusion]
Replied On 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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon