Occurs when the user changes the text in a cell in edit mode.
Syntax
Event Data
The event handler receives an argument of type EditorNotifyEventArgs containing data related to this event. The following EditorNotifyEventArgs properties provide information specific to this event.
Property | Description |
---|
Column | Gets the column index of the cell with the editor that raised the event. |
EditingControl | Gets the Control object that raises the event. |
Row | Gets the row index of the cell with the editor that raised the event. |
View | Gets the view that contains the cell with the editor that raised the event. |
Remarks
Example
This example raises the EditChange event when the user changes the text in a cell when in Edit mode.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.SetValue(0, 0, "ChangeMe");
Label1.Text = "Put the cell in edit mode and change the text. This will fire the event";
private void fpSpread1_EditChange(object sender, FarPoint.Win.Spread.EditorNotifyEventArgs e)
{
ListBox1.Items.Add("EditChange event fired!");
} |
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.SetValue(0, 0, "ChangeMe")
Label1.Text = "Put the cell in edit mode and change the text. This will fire the event"
Private Sub FpSpread1_EditChange(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.EditorNotifyEventArgs) Handles FpSpread1.EditChange
ListBox1.Items.Add("EditChange event fired!")
End Sub
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also