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.

GGC header and caption cell background colors

Thread ID:

Created:

Updated:

Platform:

Replies:

31249 Jul 4,2005 10:09 AM Jul 5,2005 11:49 AM Windows Forms 2
loading
Tags: Grouping
John Slater
Asked On July 4, 2005 10:09 AM

I''ve been unable to change either the header column descriptions or caption cell background colors for GGC (parent or child). Can they be changed in VS?, or do they need to be changed programmically with an event handler. Thanks

Administrator [Syncfusion]
Replied On July 5, 2005 11:21 AM

Hi, this code will work: this.groupingGrid1.Appearance.ColumnHeaderCell.Themed = false; this.groupingGrid1.Appearance.ColumnHeaderCell.BackColor = Color.Wheat; this.groupingGrid1.Appearance.GroupCaptionCell.Themed = false; this.groupingGrid1.Appearance.GroupCaptionCell.BackColor = Color.Wheat; Key is to turn off XP Themes for those cells. Stefan >I''ve been unable to change either the header column descriptions or caption cell background colors for GGC (parent or child). Can they be changed in VS?, or do they need to be changed programmically with an event handler. > >Thanks

John Slater
Replied On July 5, 2005 11:49 AM

Thanks Stefan, Worked perfectly. I even kept your color :-). >Hi, > >this code will work: > > > this.groupingGrid1.Appearance.ColumnHeaderCell.Themed = false; > this.groupingGrid1.Appearance.ColumnHeaderCell.BackColor = Color.Wheat; > this.groupingGrid1.Appearance.GroupCaptionCell.Themed = false; > this.groupingGrid1.Appearance.GroupCaptionCell.BackColor = Color.Wheat; > > > >Key is to turn off XP Themes for those cells. > >Stefan > >>I''ve been unable to change either the header column descriptions or caption cell background colors for GGC (parent or child). Can they be changed in VS?, or do they need to be changed programmically with an event handler. >> >>Thanks

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.

;