System.Windows.Forms.ListView.ColumnWidthChanging Event

Occurs when the width of a column is changing.

Syntax

public event ColumnWidthChangingEventHandler ColumnWidthChanging

Remarks

This event allows you to check the new column width with the ColumnWidthChangingEventArgs.NewWidth property, and cancel the event if you choose by setting the System.ComponentModel.CancelEventArgs.Cancel property to true.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0