Back to Devexpress

PivotGridControl.FieldWidthChanged Event

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-500786a7.md

latest2.2 KB
Original Source

PivotGridControl.FieldWidthChanged Event

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public event PivotFieldEventHandler FieldWidthChanged
vb
Public Event FieldWidthChanged As PivotFieldEventHandler

Event Data

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

PropertyDescription
FieldGets 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

Width

MinWidth

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace