Skip to main content

PivotGridControl.FieldWidthChanged Event

Provides a notification that the field’s width has been changed.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.1.dll

NuGet Package: DevExpress.Win.PivotGrid


public event PivotFieldEventHandler FieldWidthChanged

Event Data

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

Property Description
Field Gets the field being processed. Inherited from PivotFieldEventArgsBase<T>.


The FieldWidthChanged event is raised in the following cases:

  • an end-user has dragged the field’s right edge and so changed its width;
  • the auto width feature has been applied to the field by an end-user or via code;
  • the field’s width has been changed via code by changing the PivotGridFieldBase.Width property’s value.

The field whose width has been changed is returned by the event parameter’s PivotFieldEventArgsBase<T>.Field property.

See Also