TreeListFilterNodeIterator Class

Represents an object that enables you to traverse through nodes displayed within the ASPxTreeList when it is filtered.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v19.2.dll

Declaration

public class TreeListFilterNodeIterator :
    TreeListNodeIterator
Public Class TreeListFilterNodeIterator
    Inherits TreeListNodeIterator

Remarks

Basically, you will need to write recursive code to visit all the nodes contained within the ASPxTreeList. The Nodes Iterator allows you to avoid this, and makes traversing through the nodes a trivial task. All you have to do is to create a new TreeListFilterNodeIterator object, and use its TreeListNodeIterator.GetNext method to obtain the next node.

A start node is specified within the TreeListFilterNodeIterator's constructor. To start traversing from the root node, pass the ASPxTreeList.RootNode as a parameter. The current node is returned by the TreeListNodeIterator.Current property.

To clear any explicitly defined properties and reset the TreeListFilterNodeIterator object to its original, use the TreeListNodeIterator.Reset method.

Note

A Node Iterator can also be created using the ASPxTreeList's ASPxTreeList.CreateNodeIterator method.

Inheritance

Object
TreeListNodeIterator
TreeListFilterNodeIterator
See Also