Skip to main content
All docs
V23.2

BandedGridView.BandPositionChanged Event

Fires after a band changes its position or visibility.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

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

Event Data

The BandPositionChanged 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

The BandPositionChanged event fires in the following cases:

  • A user drags the band (e.Band) and drops it in another position.
  • A user hides the band or drags the band to/from the Customization Form.
  • The band’s visibility was changed in code (Visible ).

Use the VisibleIndex property to obtain the band’s visual position. This property is read-only.

See Also