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.ColumnWidthChanged Event

Fires after a column’s width has been changed.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public event ColumnWidthChangedEventHandler ColumnWidthChanged

#Event Data

The ColumnWidthChanged event's data class is ColumnChangedEventArgs. The following properties provide information specific to this event:

Property Description
Column Gets a Tree List column.

#Remarks

The ColumnWidthChanged event occurs in the following cases:

  • an end-user has dragged a column’s right edge to change its width;
  • a column’s width has been changed via the TreeListColumn.BestFit method.
  • a column’s width has been changed via the TreeListColumn.Width property.

This event isn’t fired when the TreeListOptionsView.AutoWidth option is set to true and a column’s width is changed as a result of modifying the Tree List’s width.

See Also