TreeListInvalidNodeExceptionEventArgs Class
Provides data for the TreeListView.InvalidNodeException event.
Namespace: DevExpress.Xpf.Grid.TreeList
Assembly: DevExpress.Xpf.Grid.v24.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
public class TreeListInvalidNodeExceptionEventArgs :
TreeListNodeEventArgs,
IInvalidRowExceptionEventArgs
Remarks
Node validation is performed within the TreeListView.ValidateNode event handler, when a node is about to lose focus. The TreeListView.InvalidNodeException event allows you to override the default error presentation. This event occurs after the TreeListView.ValidateNode event (provided that the focused node’s validation has failed).
Use the event parameter’s TreeListInvalidNodeExceptionEventArgs.ExceptionMode property, to specify the action performed in response to entering an invalid value. You can display a message box with an error description, suppress any action, throw an exception or discard new data and revert to an old value.
To learn more, see Row Validation.