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.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

39940 Jan 20,2006 09:24 PM UTC Jan 21,2006 04:09 PM UTC Windows Forms 1
loading
Tags: GridControl
va
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.

gradientgrid.zip

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

CONFIRMATION

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.

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

;