Version

OnCellUpdating Method

Occurs when a Cell's value is about to be updated.
Syntax
'Declaration
 
Protected Overridable Sub OnCellUpdating( _
   ByVal args As CellUpdatingEventArgs _
) 
protected virtual void OnCellUpdating( 
   CellUpdatingEventArgs args
)

Parameters

args
Remarks

When the value is updated by the user as a result of ending edit mode on the ActiveCell after changes were made, the sequence of events is EditModeEnding, EditModeValidationError (for validation errors generated by the editor), CellUpdating, CellUpdated or DataError (for exceptions thrown by the DataSource) and finally EditModeEnded.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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