PivotGridControl.GridLayout Event

Fires after the control's layout has been changed.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public event EventHandler GridLayout
Public Event GridLayout As EventHandler

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