BeforeToolExitEditMode Event (ToolBase)

Cancelable event that occurs before a tool has exited edit mode.
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.

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.

This event is generated before a tool exits edit mode.

The BeforeToolEnterEditMode event is generated before a tool enters edit mode.

The AfterToolEnterEditMode event is generated after a tool has entered edit mode.

The BeforeToolExitEditMode event is generated before a tool leaves edit mode.

The AfterToolExitEditMode event is generated after a tool has exited edit mode.

Note: This event has meaning for only certain tools such as the TextBoxTool, ComboBoxTool, FontListTool and so on. Tools that do not provide an interface for editing a value will not need to use this event.


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