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

TreeList.ColumnPositionChanged Event

Fires when a column is moved, hidden, or shown.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[DXCategory("Behavior")]
public event EventHandler ColumnPositionChanged

#Event Data

The ColumnPositionChanged event's data class is EventArgs.

#Remarks

The ColumnPositionChanged event allows you to respond to changing the column position in the TreeList. This event fires each time when:

The sender parameter, passed to the event handler, returns the TreeListColumn object that represents the column being moved. You can read the TreeListColumn.VisibleIndex property to get the new position of the column. If the column is hidden, this property returns -1.

See Also