Skip to main content
A newer version of this page is available. .

GridView.ColumnWidthChanged Event

Occurs after a column’s width has been changed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[DXCategory("Property Changed")]
public event ColumnEventHandler ColumnWidthChanged

Event Data

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

Property Description
Column Gets the column being processed.

Remarks

This event occurs in the following cases:

  • an end-user has dragged a column’s right edge, and thus modified its width;
  • a column’s width has been modified via the GridColumn.Resize method.

The ColumnWidthChanged event isn’t fired when a column’s width is changed via the GridColumn.Width property.

This event also isn’t fired when the following conditions are met:

The following code snippets (auto-collected from DevExpress Examples) contain references to the ColumnWidthChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also