Fires after the control’s layout has been changed.
NuGet Package: DevExpress.Win.PivotGrid
The GridLayout event's data class is EventArgs.
The GridLayout event is raised after the control’s layout is changed. For instance, the following actions fire this event.
- a column’s width has been modified
- a field has been dragged to a new area
- a field’s sorting rules or filter criteria have been modified
- a layout has been restored from storage (a stream, xml file or the system registry)
Use the PivotGridControl.BeginUpdate and PivotGridControl.EndUpdate methods to prevent unnecessary updates between individual operations and perform a global update after all the modifications have been made.