Skip to main content

TreeListNodeIterator.MoveNext() Method

Moves to the next node.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public bool MoveNext()

#Returns

Type Description
Boolean

true if the current node is not the last node; otherwise, false.

#Remarks

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

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

#Implements

See Also