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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Give entire table a gradient look (not cell by cell)

Thread ID:





39940 Jan 20,2006 09:24 PM UTC Jan 21,2006 04:09 PM UTC WinForms 1
Tags: GridControl
Asked On January 20, 2006 09:24 PM UTC

I''ve been trying to give an entire table a complete end-to-end gradient look. I started with Bannered cell logic: grid.BanneredRanges.Add(GridRangeInfo.FromTlhw(1,1,grid.RowCount,grid.ColCount)); style.Interior = new Syncfusion.Drawing.BrushInfo(GradientStyle.Vertical, new Color[] { Color.White, Color.WhiteSmoke, Color.Blue}); But the entire grid that is displayed actually has fewer rows and cols than the entire docked grid. So only the bannered cell area is gradient and the surrounding background shows its default solid color. I''ll upload a JPG of the problem. Any hint, example would be appreciated.


Administrator [Syncfusion]
Replied On January 21, 2006 04:09 PM UTC

Hi Va, This Thread explains doing that and there are code snippets too. Let me know if you need a sample. Regards, Rajagopal


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