Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

InvalidNodeExceptionEventArgs Class

Provides data for the TreeList.InvalidNodeException event.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

public class InvalidNodeExceptionEventArgs :
    ExceptionEventArgs

#Remarks

The TreeList.InvalidNodeException event occurs when the focused node fails validation or it cannot be saved to the data source. You can handle this event to discard changes that cannot be accepted, raise an exception, display an error message box or provide any other desired response. InvalidNodeExceptionEventArgs object properties allow you to specify the contents of the error message box, identify the node that failed validation, access exception information and enable one of the predefined responses.

#Inheritance

Object
EventArgs
ExceptionEventArgs
InvalidNodeExceptionEventArgs
See Also