Back to Devexpress

TreeListNodeEventArgs.Node Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelist-dot-treelistnodeeventargs.md

latest2.5 KB
Original Source

TreeListNodeEventArgs.Node Property

Gets the processed node.

Namespace : DevExpress.Xpf.Grid.TreeList

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TreeListNode Node { get; protected set; }
vb
Public Property Node As TreeListNode

Property Value

TypeDescription
TreeListNode

A TreeListNode object that specifies the processed node.

|

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

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.

wpf-treelist-load-nodes-dynamically/CS/DynamicNodeLoading/MainWindow.xaml.cs#L29

csharp
private void OnNodeExpanding(object sender, DevExpress.Xpf.Grid.TreeList.TreeListNodeAllowEventArgs e) {
    TreeListNode node = e.Node;
    if (node.Tag == null || (bool)node.Tag == false) {

wpf-treelist-load-nodes-dynamically/VB/DynamicNodeLoading/MainWindow.xaml.vb#L34

vb
Private Sub OnNodeExpanding(ByVal sender As Object, ByVal e As TreeList.TreeListNodeAllowEventArgs)
    Dim node As TreeListNode = e.Node
    If node.Tag Is Nothing OrElse CBool(node.Tag) = False Then

See Also

TreeListNodeEventArgs Class

TreeListNodeEventArgs Members

DevExpress.Xpf.Grid.TreeList Namespace