Version

ExitEditMode Method

Exits edit mode of the cell control.
Syntax
'Declaration
 
Public Sub ExitEditMode( _
   ByVal acceptChanges As Boolean, _
   ByVal force As Boolean _
) 
public void ExitEditMode( 
   bool acceptChanges,
   bool force
)

Parameters

acceptChanges
If True will accept any changes that were made while in edit mode.
force
If True will prevent the cancellation of the action.
Remarks

EndEditMode exits edit mode, validating the user input in the process if acceptChanges is True. If acceptChanges is False then the user input is discarded and the Value is restored back to the original value.

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