Overload | Description |
---|---|
RowHeightChangedEventArgs Constructor(SpreadView,ArrayList,Boolean) | Creates a new object with the RowHeightChanged event arguments. |
RowHeightChangedEventArgs Constructor(SpreadView,ArrayList,Boolean,Boolean) | Creates a new object with the RowHeightChanged event arguments. |
This example returns the first and last row whose height changes.
C# | Copy Code |
---|---|
private void fpSpread1RowHeightChanged(object sender, FarPoint.Win.Spread.RowHeightChangedEventArgs e) { foreach (FarPoint.Win.Spread.RowHeightChangeExtents r in r.RowList) { MessageBox.Show("The first row whose height changed is " + r.FirstRow.ToString() + " and the last row whose height changed is " + r.LastRow.ToString()); } } |
Visual Basic | Copy Code |
---|---|
Private Sub FpSpread1RowHeightChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.RowHeightChangedEventArgs) Handles FpSpread1.RowHeightChanged Dim r As FarPoint.Win.Spread.RowHeightChangeExtents For Each r In e.RowList MessageBox.Show("The first row whose height changed is " & r.FirstRow.ToString() & " and the last row whose height changed is " & r.LastRow.ToString()) Next End Sub |
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