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.

Background colour of plus minus cell

Thread ID:

Created:

Updated:

Platform:

Replies:

76777 Sep 23,2008 09:20 AM Sep 25,2008 07:59 AM Windows Forms 4
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 23, 2008 09:20 AM

Hi

I'm trying to set the background colour of the plus minus cell in a GridGroupingControl
(v6.3.0.6)

I've tried the following but neither work:

m_ggc.BackColor = Color.Blue;
m_ggc.TableDescriptor.Appearance.RecordPlusMinusCell.BackColor = Color.Blue;

Any ideas why this should not work.

Thanks
Steve




Jisha Joy [Syncfusion]
Replied On September 24, 2008 03:30 AM

Hi Steve,

Thank you for posting query to us.

Please try the following code snippets and let me know if this helps.


this.gridGroupingControl1.TableDescriptor.Appearance.RecordPlusMinusCell.Themed = false;
this.gridGroupingControl1.TableDescriptor.Appearance.RecordPlusMinusCell.BackColor = Color.Brown;

Regards,
Jisha


Administrator [Syncfusion]
Replied On September 24, 2008 04:17 AM

Hi Jisha

Sorry, but your suggestion did not make any difference. Even setting the background colour of the grid grouping control does not make a difference. Maybe the PlusMinus background is in fact part of the icon and so cannot be changed.

Thanks
Stephen


Jisha Joy [Syncfusion]
Replied On September 25, 2008 05:35 AM

Hi Stephen,



Please refer the sample in the link to show how to change the backcolor of RecordPlusMinusCell:
http://websamples.syncfusion.com/samples/Grid.Windows/Grid_WF_GGCPlusMinusCell/main.htm


Please try this and let me know if this helps.
Regards,
Jisha




Administrator [Syncfusion]
Replied On September 25, 2008 07:59 AM

Hi Jisha

I've sorted it now. I was changing the RecordPlusMinusCell when I should have been changing the GroupCaptionPlusMinusCell.

Thanks for your help.
Steve



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.

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.

;