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?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: April 21, 2015 |
Last Revised Date: April 23, 2015

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

ADD COMMENT
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.

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