Occurs when a viewport column width has changed.
Syntax
Event Data
The event handler receives an argument of type ColumnViewportWidthChangedEventArgs containing data related to this event. The following ColumnViewportWidthChangedEventArgs properties provide information specific to this event.
Property | Description |
---|
View | Gets the view that contains the viewport column whose width has changed. |
ViewportIndex | Gets the index of the viewport column whose width has changed. |
ViewportWidth | Gets the width of the viewport column whose width has changed. |
Remarks
Example
This example raises the event.
C# | Copy Code |
---|
private void fpSpread1_ColumnViewportWidthChanged(object sender, FarPoint.Win.Spread.ColumnViewportWidthChangedEventArgs e)
{
ListBox1.Items.Add("ColumnViewportWidthChanged event fired!");
} |
Visual Basic | Copy Code |
---|
Private Sub FpSpread1_ColumnViewportWidthChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ColumnViewportWidthChangedEventArgs)
Handles FpSpread1.ColumnViewportWidthChanged
ListBox1.Items.Add("ColumnViewportWidthChanged 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