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.
Syncfusion Feedback

GridGroupingControl Colors

Thread ID:

Created:

Updated:

Platform:

Replies:

32213 Jul 25,2005 01:00 PM UTC Jul 25,2005 01:51 PM UTC Windows Forms 2
loading
Tags: Grouping
John Slater
Asked On July 25, 2005 01:00 PM UTC

Ok, stupid question of the day #15. When setting the color of AnyCell for a GGC, it''s overriding the GridGroupingControl.BackColor. All other colors are correct. Basically, I''m doing the following: this.GridGroupingControl.Appearance.ColumnHeaderCell.Themed = false; this.GridGroupingControl.Appearance.ColumnHeaderCell.BackColor = this.headerBackColor1; this.GridGroupingControl.Appearance.GroupCaptionCell.Themed = false; this.GridGroupingControl.Appearance.GroupCaptionCell.BackColor = this.headerBackColor2; this.GridGroupingControl.Appearance.AlternateRecordFieldCell.BackColor = this.altRowBackColor; this.GridGroupingControl.Appearance.AnyCell.BackColor = this.rowBackColor; this.GridGroupingControl.BackColor = this.gridBackColor; The GridGroupingControl.BackColor is always the same as the this.GridGroupingControl.Appearance.AnyCell.BackColor. Thanks,

Administrator [Syncfusion]
Replied On July 25, 2005 01:16 PM UTC

Do not set the AnyCell property. Instead try setting these properties to see if this does what you want. this.gridGroupingControl1.BackColor = Color.Red; this.gridGroupingControl1.Appearance.RecordFieldCell.BackColor = Color.Green; this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.BackColor = Color.Blue;

John Slater
Replied On July 25, 2005 01:51 PM UTC

Worked perfectly, thanks. >Do not set the AnyCell property. Instead try setting these properties to see if this does what you want. > >this.gridGroupingControl1.BackColor = Color.Red; >this.gridGroupingControl1.Appearance.RecordFieldCell.BackColor = Color.Green; >this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.BackColor = Color.Blue; >

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

;