Back to Devexpress

TreeList.AfterCheckNode Event

windowsforms-devexpress-dot-xtratreelist-dot-treelist-7adec6ec.md

latest3.2 KB
Original Source

TreeList.AfterCheckNode Event

Occurs after a node’s check state has been changed by an end-user.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public event NodeEventHandler AfterCheckNode
vb
Public Event AfterCheckNode As NodeEventHandler

Event Data

The AfterCheckNode event's data class is NodeEventArgs. The following properties provide information specific to this event:

PropertyDescription
NodeGets the current Tree List node.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AfterCheckNode event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.cs#L26

csharp
tree.BeforeCheckNode += Tree_BeforeCheckNode;
tree.AfterCheckNode += Tree_AfterCheckNode;
tree.CustomColumnDisplayText += Tree_CustomColumnDisplayText;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.vb#L30

vb
AddHandler tree.BeforeCheckNode, AddressOf Tree_BeforeCheckNode
AddHandler tree.AfterCheckNode, AddressOf Tree_AfterCheckNode
AddHandler tree.CustomColumnDisplayText, AddressOf Tree_CustomColumnDisplayText

See Also

BeforeCheckNode

CustomDrawNodeCheckBox

Node Checking - Checkboxes and Radio Buttons

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace