Skip to main content

TreeListNodeIterator.Current Property

Gets a node currently being processed by the TreeListNodeIterator object.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public TreeListNode Current { get; }

#Property Value

Type Description
TreeListNode

A TreeListNode object that is the node currently being processed.

#Remarks

Use the TreeListNodeIterator.MoveNext method to iterate through the nodes. The currently processed node is returned by the Current property. Each time the TreeListNodeIterator.MoveNext method is called, the Node Iterator moves to the next node in the hierarchy and updates the Current property. If the current node is the last node, the TreeListNodeIterator.MoveNext method returns false.

To reset the Node Iterator to its initial state, call the TreeListNodeIterator.Reset method.

#Implements

System.Collections.Generic.IEnumerator<DevExpress.Xpf.Grid.TreeListNode>.Current
See Also