Skip to main content

TreeList.ColumnPositionChanged Event

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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