Spread Windows Forms 12.0 Product Documentation
RowHeightChanging Event
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : RowHeightChanging Event
Occurs when the column width is changing.
Syntax
'Declaration
 
Public Event RowHeightChanging As RowHeightChangingEventHandler
'Usage
 
Dim instance As FpSpread
Dim handler As RowHeightChangingEventHandler
 
AddHandler instance.RowHeightChanging, handler
public event RowHeightChangingEventHandler RowHeightChanging
Event Data

The event handler receives an argument of type RowHeightChangingEventArgs containing data related to this event. The following RowHeightChangingEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets whether to cancel the row height change.  
Gets whether the column indexes are column footer rows.  
Gets whether the column indexes are column header rows.  
Gets the new height of the row.  
Gets the list of rows whose heights have changed.  
Gets the view that contains the rows whose heights have changed.  
Example
This example uses the RowHeightChanging event.
private void fpSpread1_RowHeightChanging(object sender, FarPoint.Win.Spread.RowHeightChangingEventArgs e)
        {
            listBox1.Items.Add(e.Height);
        }
Private Sub fpSpread1_RowHeightChanging(sender As Object, e As FarPoint.Win.Spread.RowHeightChangingEventArgs) Handles fpSpread1.RowHeightChanging
        ListBox1.Items.Add(e.Height)
    End Sub
See Also