Spread Windows Forms 10.0 Product Documentation
RowHeightChanging Event
Example 


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
CancelGets or sets whether to cancel the row height change.  
FooterGets whether the column indexes are column footer rows.  
HeaderGets whether the column indexes are column header rows.  
HeightGets the new height of the row.  
RowListGets the list of rows whose heights have changed.  
ViewGets 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
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

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.