Skip to main content

BandedGridView.BandWidthChanged Event

Occurs when the band’s width is changed.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DXCategory("Property Changed")]
public event BandEventHandler BandWidthChanged

Event Data

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

Property Description
Band Gets the band currently being processed.

Remarks

This event occurs in the following cases:

  • an end-user has dragged the band’s right edge and thus modified its width;
  • the band’s width has been modified via the GridBand.Resize method.

The BandWidthChanged event is not fired when the band’s width is changed via the GridBand.Width property.

The BandWidthChanged event is also not fired when the GridOptionsView.ColumnAutoWidth option is set to true and the band’s width is changed as a result of the View’s width being modified.

See Also