Version

NodeEditingValidationFailed Event

This event is raised when validation fails while editing a XamDataTreeNode.
Syntax
'Declaration
 
Public Event NodeEditingValidationFailed As EventHandler(Of NodeValidationErrorEventArgs)
public event EventHandler<NodeValidationErrorEventArgs> NodeEditingValidationFailed
Event Data

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

PropertyDescription
Handled Gets/sets whether the event is handled. If true, then the XamDataTreeNode will treat the validation as if it had passed.
Node (Inherited from Infragistics.Controls.Menus.NodeEventArgs)The XamDataTreeNode that was modified.
ValidationErrorEventArgs The actual ValidationErrorEventArgs.
Remarks
When the XamDataTree is exiting edit mode, the XamDataTree will attach to the BindingValidationError and forward the error, if raised, through this event. However it will not raise this event if secondary errors are raised on the data object via the INotifyDataErrorInfo interface.
Requirements

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