'Declaration Public Event CellChanged As SheetViewEventHandler
'Usage Dim instance As SheetView Dim handler As SheetViewEventHandler AddHandler instance.CellChanged, handler
public event SheetViewEventHandler CellChanged
Event Data
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. |
Remarks
This occurs if any content in or formatting of this cell has changed.
Example
This example illustrates the use of the event by returning the column when the cell changes.
private void sheetView1_CellChanged(object sender, FarPoint.Win.Spread.SheetViewEventArgs e) { listBox1.Items.Add(e.Column.ToString()); }
Private Sub SheetView1_CellChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetViewEventArgs) Handles SheetView1.CellChanged ListBox1.Items.Add(e.Column.ToString()) End Sub
See Also