Version

OnEditModeEnding Method (ValuePresenter)

Called when the embedded editor is about to exit edit mode
Syntax
'Declaration
 
Protected MustOverride Sub OnEditModeEnding( _
   ByVal e As EditModeEndingEventArgs _
) 
protected abstract void OnEditModeEnding( 
   EditModeEndingEventArgs e
)

Parameters

e
The event arguments
Remarks

Setting the Infragistics.Windows.Editors.Events.EditModeEndingEventArgs.Cancel property to true will prevent the editor from exiting edit mode.

However, if the Infragistics.Windows.Editors.Events.EditModeEndingEventArgs.Force read-only property is true the action is not cancellable and setting Cancel to true will raise an exception.

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