Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.GridLayout Event

Fires after the control’s layout has been changed.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public event EventHandler GridLayout

#Event Data

The GridLayout event's data class is EventArgs.

#Remarks

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.

See Also