TreeListNodeValidationEventArgs Class

Provides data for the TreeListView.ValidateNode event.

Namespace: DevExpress.Xpf.Grid.TreeList

Assembly: DevExpress.Xpf.Grid.v21.1.dll


public class TreeListNodeValidationEventArgs :


Node validation is performed within the TreeListNodeValidationEventArgs event handler. This event is automatically fired when a node is about to lose focus.

The processed node is returned by the event parameter’s TreeListNodeValidationEventArgs.Node property. After cell values have been obtained, you can verify whether these values meet your validity criteria. If the node fails validation, set the event’s ValidationEventArgs.IsValid parameter to false. Otherwise, leave this parameter set to true.

See Also