Back to Devexpress

TreeList.ColumnWidthChanged Event

windowsforms-devexpress-dot-xtratreelist-dot-treelist-d075cf28.md

latest2.3 KB
Original Source

TreeList.ColumnWidthChanged Event

Fires after a column’s width has been changed.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public event ColumnWidthChangedEventHandler ColumnWidthChanged
vb
Public Event ColumnWidthChanged As ColumnWidthChangedEventHandler

Event Data

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

PropertyDescription
ColumnGets 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

BestFit()

Width

AutoWidth

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace