Back to Devexpress

ValidateNodeEventHandler Delegate

windowsforms-devexpress-dot-xtratreelist-ad6b8a7b.md

latest1.8 KB
Original Source

ValidateNodeEventHandler Delegate

Represents a method that will handle the TreeList.ValidateNode event.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public delegate void ValidateNodeEventHandler(
    object sender,
    ValidateNodeEventArgs e
);
vb
Public Delegate Sub ValidateNodeEventHandler(
    sender As Object,
    e As ValidateNodeEventArgs
)

Parameters

NameTypeDescription
senderObject

The event sender (the TreeList object which raised the event).

| | e | ValidateNodeEventArgs |

A ValidateNodeEventArgs object that contains event data.

|

Remarks

When creating a ValidateNodeEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information on event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraTreeList Namespace