Spread Windows Forms 9.0 Product Documentation
RowHeightChangedEventArgs Constructor
Example 


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.
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()); 
    } 
}
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

RowHeightChangedEventArgs Class
RowHeightChangedEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.