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 customize the record Plus/Minus icon?

To change the record (+/-) icon for expanding and collapsing, you can customize that cell in QueryCellStyleInfo event. Change the CellType of the plus/minus cell to ‘Static’. The icon image is applied to that cell by using ImageList. The current state of the record is retrieved through IsExpanded property.

C#

VB

The following screenshot displays the modified icons for record plus/minus.

F:\Winforms\KB\DataGrid\Customize the record plus minus icon\Icon.png

Figure 1: Modified icons for record plus/minus

Sample Links

C#: IconChanged

VB: IconChanged

Article ID: Published Date: Last Revised Date: Platform: Control:
4665 04/21/2015 04/23/2015 WinForms GridGroupingControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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