'Declaration Protected Overrides Sub OnEditModeEnding( _ ByVal e As EditModeEndingEventArgs _ )
protected override void OnEditModeEnding( EditModeEndingEventArgs e )
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.
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