FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : RowHeightChanging Event |
'Declaration Public Event RowHeightChanging As RowHeightChangingEventHandler
'Usage Dim instance As FpSpread Dim handler As RowHeightChangingEventHandler AddHandler instance.RowHeightChanging, handler
public event RowHeightChangingEventHandler RowHeightChanging
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.
Property | Description |
---|---|
Cancel | Gets or sets whether to cancel the row height change. |
Footer | Gets whether the column indexes are column footer rows. |
Header | Gets whether the column indexes are column header rows. |
Height | Gets the new height of the row. |
RowList | Gets the list of rows whose heights have changed. |
View | Gets the view that contains the rows whose heights have changed. |
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
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