Spread Windows Forms 6.0 Product Documentation
ColumnWidthChanging Event
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : ColumnWidthChanging Event


Glossary Item Box

Occurs when the column width is changing.

Syntax

Visual Basic (Declaration) 
Public Event ColumnWidthChanging As ColumnWidthChangingEventHandler
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim handler As ColumnWidthChangingEventHandler
 
AddHandler instance.ColumnWidthChanging, handler
C# 
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.

PropertyDescription
Cancel Gets or sets whether to cancel the column width change.
ColumnList Gets the list of columns whose widths have changed.
Header Gets whether the column indexes are row header columns.
View Gets the view that contains the columns whose widths have changed.
Width Gets the new width of the column.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.