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.FieldWidthChanged Event

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

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>.

#Remarks

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