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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8