FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : EditModeOff Event |
'Declaration Public Event EditModeOff As EventHandler
'Usage Dim instance As FpSpread Dim handler As EventHandler AddHandler instance.EditModeOff, handler
public event EventHandler EditModeOff
This event is raised by the OnEditModeOff method when edit mode is stopped.
For a discussion of edit mode and related properties, refer to Understanding Edit Mode.
This event is raised before the cell editor control (FpSpread.EditingControl) is removed, and thus is useful for detaching event handlers for the cell editor control or the cell type object.
Label1.Text = "Put a cell into edit mode then leave edit mode to fire the EditModeOff event"; private void fpSpread1_EditModeOff(object sender, System.EventArgs e) { ListBox1.Items.Add("EditModeOff event fired!"); }
Label1.Text = "Put a cell into edit mode then leave edit mode to fire the EditModeOff event" Private Sub FpSpread1_EditModeOff(ByVal sender As Object, ByVal e As System.EventArgs) Handles FpSpread1.EditModeOff ListBox1.Items.Add("EditModeOff event fired!") 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