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
close icon

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

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon