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

GroupDropArea Colors

Thread ID:





59737 Apr 20,2007 03:48 PM UTC Apr 20,2007 05:55 PM UTC WinForms 1
Tags: GridControl
Jeremy Giannosa
Asked On April 20, 2007 03:48 PM UTC

I would like to customize group drop area colors as show in the attached picture.

I was able to modify color on the splitter color and the bottom half of the group drop area but was unable to modify colors on the top half of the drop area and the shelf which holds the column headers that are being grouped



haneefm [Syncfusion]
Replied On April 20, 2007 05:55 PM UTC

Hi Jeremy,

You can handle the PrepareViewStyleInfo event of the GridDropArea control to modify the colors in it. The code snippet is as follows.

this.gridGroupingControl1.GridGroupDropArea.PrepareViewStyleInfo +=new GridPrepareViewStyleInfoEventHandler(GridGroupDropArea_PrepareViewStyleInfo);

private void GridGroupDropArea_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
e.Style.TextColor= Color.White;
e.Style.Themed = false; //for group header cell....

Best regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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