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. Image for the cookie policy date

GridGroupingControl Colors

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,

2 Replies

AD Administrator Syncfusion Team July 25, 2005 08:16 AM

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;


JS John Slater July 25, 2005 08:51 AM

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; >

Loader.
Live Chat Icon For mobile
Up arrow icon