Back to Devexpress

TreeList.BandPositionChanged Event

windowsforms-devexpress-dot-xtratreelist-dot-treelist-06f53cd0.md

latest2.0 KB
Original Source

TreeList.BandPositionChanged Event

Fires after a band changes its position or visibility.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public event BandEventHandler BandPositionChanged
vb
Public Event BandPositionChanged As BandEventHandler

Event Data

The BandPositionChanged event's data class is DevExpress.XtraTreeList.BandEventArgs.

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 position or visibility was changed in code.

Use the SetBandIndex method to move the band to another position in code. The band’s Visible property specifies its visibility.

See Also

Visible

SetBandIndex

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace