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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Background colour of plus minus cell

Thread ID:

Created:

Updated:

Platform:

Replies:

76777 Sep 23,2008 01:20 PM UTC Sep 25,2008 11:59 AM UTC WinForms 4
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 23, 2008 01:20 PM UTC

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 07:30 AM UTC

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 08:17 AM UTC

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 09:35 AM UTC

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 11:59 AM UTC

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.

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

;