ComponentOne DataGrid for WPF and Silverlight
GroupChanging Event (C1DataGrid)

C1.WPF.DataGrid Namespace > C1DataGrid Class : GroupChanging Event
Occurs before the grouping state of the C1DataGrid is changed.
Syntax
'Declaration
 
Public Event GroupChanging As System.EventHandler(Of DataGridGroupChangingEventArgs)
public event System.EventHandler<DataGridGroupChangingEventArgs> GroupChanging
Event Data

The event handler receives an argument of type DataGridGroupChangingEventArgs containing data related to this event. The following DataGridGroupChangingEventArgs properties provide information specific to this event.

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Gets the columns will be grouped if this event is not cancelled.  
Remarks
Grouping state changes when user drag a column on the grouping panel or when the GroupBy method is called.
See Also