Version

ToolEditError Event (UltraToolbarsManager)

Occurs after the BeforeToolExitEditMode event if the user has entered an invalid value.
Syntax
'Declaration
 
Public Event ToolEditError As ToolEditErrorEventHandler
public event ToolEditErrorEventHandler ToolEditError
Event Data

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

PropertyDescription
CancelingEditMode Indicates whether the edit operation is being canceled.
ErrorText Gets or sets the error text.
Exception The exception, if any, that lead to this error event.
ForceExit ReadOnly. True if the tool is being forced to exit edit mode. If this is true then StayInEditMode will be ignored.
RestoreOriginalValue Whether to restore the value in the tool to original value of the tool before entering edit mode. Default value is true.
ShowErrorMessage Returns or sets a boolean indicating whether an error message should be displayed to the end user.
StayInEditMode Indicates whether to stay in edit mode. Default value is true.
Tool (Inherited from Infragistics.Win.UltraWinToolbars.ToolEventArgs)The tool.
Remarks

This event is generated when a ToolBase is exiting edit mode if the user has entered an invalid value.

The ToolEditError 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