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

How to customize the GroupDropArea?

Platform: WPF |
Control: SfDataGrid |
.NET Framework: 4.5 |
Product Version:

You can customize GroupDropArea appearance by writing style for GroupDropArea. In style, GroupDropArea Height is changed by setting Height property and GroupDropArea text is changed by setting GroupDropAreaText property.

Refer the following code example.



Here the Height is set as 80 for GroupDropArea and GroupDropAreaText is set as Grouped Columns. You can change the appearance of GroupDropArea by setting Background, Foreground, FontSize, properties etc.

The following screenshot displays the customized GroupDropArea.


To display the GroupDropArea in Expanded State while loading

By default, GroupDropArea is in collapsed state when loading the SfDataGrid. By setting IsGroupDropAreaExpanded property to true, you can display the GroupDropArea in expanded state while loading. Refer the following code example.



The following screenshot displays the default GroupDropArea in Collapsed state.



The following screenshot displays the GroupDropArea in Expanded state by setting IsGroupDropAreaExpanded to true.


Sample Links:





2X faster development

The ultimate WPF 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

Live Chat Icon For mobile