Version

BeforeToolExitEditMode Event (UltraToolbarsManager)

Cancelable event that occurs before an editor tool has left edit mode.
Syntax
'Declaration
 
Public Event BeforeToolExitEditMode As BeforeToolExitEditModeEventHandler
public event BeforeToolExitEditModeEventHandler BeforeToolExitEditMode
Event Data

The event handler receives an argument of type BeforeToolExitEditModeEventArgs containing data related to this event. The following BeforeToolExitEditModeEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
CancelingEditMode Indicates whether the edit operation is being canceled.
ForceExit ReadOnly. Returns a boolean indicating whether the exit mode is being forced to exit. If true, cancelling the event will not prevent the tool from exiting edit mode.
RestoreOriginalValue Returns or sets whether the value of the tool should be restored to the original value, that is the value of the tool before it entered edit mode.
Tool (Inherited from Infragistics.Win.UltraWinToolbars.CancelableToolEventArgs)The tool.
Remarks

This event is generated after a ToolBase has exited edit mode.

The BeforeToolExitEditMode event is generated before the tool exits edit mode.

Requirements

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