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

Grid Background Image

Thread ID:





60614 May 9,2007 09:25 AM UTC May 10,2007 08:51 PM UTC WinForms 3
Tags: GridControl
Faheem Rauf
Asked On May 9, 2007 09:25 AM UTC

Hi,I am trying to apply the image to whole the grid like, gridControl1.BackgroundImage = objBitmap.
But when I see in the PrintPreview it does not show the image in the background. please guide me regarding this issue.
i will be thankful to you.

haneefm [Syncfusion]
Replied On May 9, 2007 02:59 PM UTC

Hi faheem,

In addition to setting the BackgroundImage, try setting

this.gridControl1.Properties.BackgroundColor = Color.Transparent;

to see if that will give you what you want.

Best regards,

Faheem Rauf
Replied On May 10, 2007 10:28 AM UTC

Hi Haneef , thanks for your reply, I tried your suggested solution but it is not working. Background image does not appear.


haneefm [Syncfusion]
Replied On May 10, 2007 08:51 PM UTC

Hi Faheem,

You can set a Bitmap as the BackgroundImage property of the grid, and have it displayed as the background. But, this image will not scroll, and you would have to do additional work to get it to appear in printing.

To get the bitmap to scroll would require deriving your own cell control, and overiding the DrawBackground method, and draw the appropriate bitmap section in that method.

Best regards,


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

or the page will be automatically redirected to 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