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