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

Cell Background image in gridcontrol not displayed if XP SP2

Thread ID:





21210 Nov 4,2004 01:41 PM UTC Nov 8,2004 08:06 AM UTC WinForms 3
Tags: GridControl
Tommy Norman
Asked On November 4, 2004 01:41 PM UTC

Hi, I''m using a gridcontrol where I set a background picture in some of the header cells like this: gridControl1[0,0].BackgroundImage = this.Device.DeviceType.IedBitmap; I have syncfusion version installed. The background images has always been displayed properly till I installed windows XP SP2 then they doesn''t show up anymore. I have checked it on a second PC as well running XP SP2 and it''s the same problem. Any idea what it could be? Best Regards Tommy Norman

Administrator [Syncfusion]
Replied On November 4, 2004 03:14 PM UTC

I am running OS Name Microsoft Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600 and tried this code in It did not seem to have a problem for me. this.gridControl1[0,0].BackgroundImage = SystemIcons.Information.ToBitmap(); Do you have themes enabled? This will interfere with header drawing. If you post your bitmap, I can try it here.

Tommy Norman
Replied On November 8, 2004 06:49 AM UTC

Yes that was the problem. I had themes enabled in my grid controls. I disabled it and it worked fine. However is there a way to still have themes enabled and get the backround images to show up? Why is XP themes interfering with backround bitmaps? Regards Tommy

Administrator [Syncfusion]
Replied On November 8, 2004 08:06 AM UTC

I think the operating system themed drawing does its own background, so the only solution I would know would be to turn the themed support off for that cells where you want a backgroundimage, this.gridControl1[0,0].Themed = false;


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

Live Chat Icon For mobile
Live Chat Icon