Spread Windows Forms 12.0 Product Documentation
ColumnWidthChanging Event

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : ColumnWidthChanging Event
Occurs when the column width is changing.
Public Event ColumnWidthChanging As ColumnWidthChangingEventHandler
Dim instance As FpSpread
Dim handler As ColumnWidthChangingEventHandler
AddHandler instance.ColumnWidthChanging, handler
public event ColumnWidthChangingEventHandler ColumnWidthChanging
Event Data

The event handler receives an argument of type ColumnWidthChangingEventArgs containing data related to this event. The following ColumnWidthChangingEventArgs properties provide information specific to this event.

Gets or sets whether to cancel the column width change.  
Gets the list of columns whose widths have changed.  
Gets whether the column indexes are row header columns.  
Gets the view that contains the columns whose widths have changed.  
Gets the new width of the column.  
This example uses the ColumnWidthChanging event.
private void fpSpread1_ColumnWidthChanging(object sender, FarPoint.Win.Spread.ColumnWidthChangingEventArgs e)
Private Sub fpSpread1_ColumnWidthChanging(sender As Object, e As FarPoint.Win.Spread.ColumnWidthChangingEventArgs) Handles fpSpread1.ColumnWidthChanging
    End Sub
See Also