I have a popup menu with textboxTool -a) UltraToolbarsManager rightClickPopup;b) TextBoxTool textBoxTool3c) rightClickPopup.Tools.AddRange(textBoxTool3)I want that after user enters edit mode in 'textBoxTool3' then conditionally he should not be able to leave the edit mode of 'textBoxTool3'. He should remain in that edit box of 'textBoxTool3' of the rightClickPopupSo this means that he will remain in edit mode of 'textBoxTool3' even if he tried to mouse click any where or use ESC key or press Enter key etc.
I tried one following thing, but this does not work -textBoxTool3_BeforeToolExitEditMode {e.Cancel = true}.But the 'rightClickPopup' even gets close leave aside remaining in edit mode of 'textBoxTool3'. So this has not at all solved the problem.
Further, call stack says that it is Force Exit and hence now I understand that why BeforeToolExitEditMode will not help.
Call Stack:
EmbeddableEditorBase.OnBeforeExitEditMode(ref bool cancel = false, bool ...EditorWithText.OnBeforeExitEditMode(ref bool cancel = false, bool forceE...EmbeddableEditorBase.ExitEditMode(bool forceExit, bool applyChanges) + 0...Infragistics.Win.UltraWinToolbars.ToolBase.ExitEditMode(bool forceExit, ...Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.ForceExitEditMode...
Yes, what you are trying to do is not possible. The menus must be able to close when the user clicks somewhere else or hits escape.