Skip to main content

TreeListNodeValidationEventArgs Class

Provides data for the TreeListView.ValidateNode event.

Namespace: DevExpress.Xpf.Grid.TreeList

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public class TreeListNodeValidationEventArgs :
    GridRowValidationEventArgs,
    IDataRowEventArgs

Remarks

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