How To Change The Captionsummary Expander Indicator Color In Winforms Datagrid?

Sample date Updated on Jan 08, 2026
customization datagrid expander summaries winforms

This sample illustrates how to change the CaptionSummary expander indicator color in WinForms DataGrid (SfDataGrid).

In DataGrid, you can change the group Expander color by setting SfDataGrid.Style.CaptionSummaryRowStyle.ExpanderColor property.

sfDataGrid1.Style.CaptionSummaryRowStyle.ExpanderColor = Color.Red;

DataGrid with modified caption summary expander indicator color

Take a moment to peruse the WinForms DataGrid - Caption Summary documentation, where you can find about DataGrid Caption Summary with code examples.

Requirements to run the demo

Visual Studio 2015 and above versions.

Up arrow