'Declaration Public Event ToolEditError As ToolEditErrorEventHandler
public event ToolEditErrorEventHandler ToolEditError
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.
Property | Description |
---|---|
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. |
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.
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