Skip to main content
A newer version of this page is available. .

TreeListNode.PrevNode Property

Gets the previous node in the collection.

Namespace: DevExpress.XtraTreeList.Nodes

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

[Browsable(false)]
public virtual TreeListNode PrevNode { get; }

Property Value

Type Description
TreeListNode

A TreeListNode object which represents the previous node in the collection. null (Nothing in Visual Basic) if the current node is the first node in the collection.

Remarks

Nodes are contained within the nodes collections (the TreeListNodes objects). For example, the root nodes are contained within the Tree List’s TreeList.Nodes collection. Each node can have children which are contained within its TreeListNode.Nodes collection. The PrevNode method allows the node prior to the current one in the collection to be obtained.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PrevNode 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.

See Also