A newer version of this page is available. Switch to the current version.

BandedGridView.BandWidthChanged Event

Occurs when the band's width is changed.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DXCategory("Property Changed")]
public event BandEventHandler BandWidthChanged
<DXCategory("Property Changed")>
Public Event BandWidthChanged As BandEventHandler

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