Occurs when the column width has changed.
Syntax
Event Data
The event handler receives an argument of type ColumnWidthChangedEventArgs containing data related to this event. The following ColumnWidthChangedEventArgs properties provide information specific to this event.
Property | Description |
---|
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. |
Remarks
Example
This example raises the event.
C# | Copy Code |
---|
private void fpSpread1_ColumnWidthChanged(object sender, FarPoint.Win.Spread.ColumnWidthChangedEventArgs e)
{
ListBox1.Items.Add("ColumnWidthChanged event fired!");
} |
Visual Basic | Copy Code |
---|
Private Sub FpSpread1_ColumnWidthChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ColumnWidthChangedEventArgs)
Handles FpSpread1.RowHeightChanged
ListBox1.Items.Add("ColumnWidthChanged event fired!")
End Sub
|
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