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

BandedGridView.BandWidthChanged Event

Occurs when the band’s width is changed.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.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