Skip to main content
All docs
V24.1

SpreadsheetControl.GroupStateChanged Event

Fires after row or column groups are expanded or collapsed.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.1.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

Declaration

public event GroupStateChangedEventHandler GroupStateChanged

Event Data

The GroupStateChanged event's data class is GroupStateChangedEventArgs. The following properties provide information specific to this event:

Property Description
Groups Returns information about groups affected by the expand/collapse operation.
IsExpanded Indicates whether groups are expanded.
IsRowGroup Indicates whether a user expanded/collapsed row groups.

Remarks

The WPF Spreadsheet control ships with a set of events that allow you to control the expand/collapse operations for row and column groups in a worksheet.

The following events occur when a user clicks a plus Spreadsheet - Plus Outline Symbol / minus Spreadsheet - Minus Outline Symbol symbol on the outline bar (or the Hide Detail/Show Detail button on the Data ribbon tab):

The following events occur when a user clicks one of the outline buttons Spreadsheet - Outline Buttons to expand/collapse row or column groups:

The GroupStateChanged event fires after the expand/collapse operation is completed. Event arguments allow you to determine the group state (expanded or collapsed), check the group type (row or column), and retrieve information about affected groups (Groups).

See Also