Spread Windows Forms 7.0 Product Documentation
RowHeightChangedEventArgs Constructor
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RowHeightChangedEventArgs Class : RowHeightChangedEventArgs Constructor


Glossary Item Box

Overload List

OverloadDescription
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.  

Example

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 BasicCopy 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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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