FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : RowChanged Event |
'Declaration Public Event RowChanged As SheetViewEventHandler
'Usage Dim instance As SheetView Dim handler As SheetViewEventHandler AddHandler instance.RowChanged, handler
public event SheetViewEventHandler RowChanged
The event handler receives an argument of type SheetViewEventArgs containing data related to this event. The following SheetViewEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Column | Gets the column index. |
ColumnCount | Gets the number of columns. |
Row | Gets the row index. |
RowCount | Gets the number of rows. |
This example illustrates the use of the event by returning the row in which the change occurred.
private void fpSpread1_Sheet1_RowChanged(object sender, FarPoint.Win.Spread.SheetViewEventArgs e) { label1.Text = e.Row.ToString(); }
Private Sub FpSpread1_Sheet1_RowChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetViewEventArgs) Handles FpSpread1_Sheet1.RowChanged Label1.Text = e.Row.ToString() 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