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

How to format the GroupDropArea of a GridGroupingControl?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: April 30, 2011 |
Last Revised Date: March 9, 2015

The Grouping Area of the GridGroupingControl is a panel capable of holding multiple Grid controls stacked vertically with a definite number of rows and columns in a manner of one Grid control row per table bound to the GridGroupingControl. Its visibility can be toggled. By default, only one Grid control row is visible in the group drop area for the parent table (main table) field’s accommodation. Each of its column can be formatted by using the PrepareViewStyleInfo event. There is also a Splitter beneath the Grouping Area separating it from the record view.

 Formatting of the Splitter and GroupDropPanel



GroupDropArea for the ChildTable

The GroupDropArea for each of the Grids can be taken by looping through the controls in the panel, by this you can get the PrepareViewStyleInfo for all the child tables on the FormLoad().




The following code example is for styling the child table GroupDropArea on the PrepareViewStyleInfo event.



The following code example is for the GridGroupingControl.GridGroupDropArea PrepareViewStyleInfoEvent.





Sample Links



2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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