Back to Devexpress

InvalidNodeExceptionEventArgs Class

windowsforms-devexpress-dot-xtratreelist-6f4a776e.md

latest2.2 KB
Original Source

InvalidNodeExceptionEventArgs Class

Provides data for the TreeList.InvalidNodeException event.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public class InvalidNodeExceptionEventArgs :
    ExceptionEventArgs
vb
Public Class InvalidNodeExceptionEventArgs
    Inherits ExceptionEventArgs

InvalidNodeExceptionEventArgs is the data class for the following events:

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

InvalidNodeExceptionEventArgs Members

InvalidValueException

DevExpress.XtraTreeList Namespace