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

How to set the back color of a docked grid (outside the grid)

I have a GridControl docked fill in a panel. The panel has a back color of red (or any other color). If the grid has only a few rows it doesn't reach the bottom of the panel and I would expect the color below to be the panel color but in fact it is the standard windows form color (usually light gray). Setting the grid back color only affects the grid itself and not the space below the grid. How can I see the panel back color if the grid doesn't reach the bottom of the panel?

Using Syncfusion 12.

Best Regards,
Paulo Soares

2 Replies

PS Paulo Soares August 1, 2014 08:08 PM UTC

Nevermind, it's GridControl.Properties.BackgroundColor.

Paulo


SA Solai A L Syncfusion Team August 5, 2014 04:06 AM UTC

Hi Paulo,

Thank you for your interest in Syncfusion Products.

We are glad that you got the solution and please let us know if you need any further assistance.

Thanks & Regards,

AL.Solai.


Loader.
Live Chat Icon For mobile
Up arrow icon