ValidateNodeEventArgs Class
Provides data for the TreeList.ValidateNode event.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Remarks
The TreeList.ValidateNode event fires when attempting to move node focus. It enables you to specify whether the currently focused node’s data is valid, and so whether moving focus is permitted.
To determine whether the currently focused node’s data is valid, you will need to access the node’s cell values. Thus, the ValidateNodeEventArgs class enables you to identify the processed node using the inherited NodeEventArgs.Node property. This class introduces the ValidateNodeEventArgs.Valid and ValidateNodeEventArgs.ErrorText properties that specify if a node’s data is valid and define the text displayed within an error message box.