Enumerates rows from a master template and recursively visits child views for hierarchy rows.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class PagedHierarchicalTraverser : IEnumerator
Inheritance: objectPagedHierarchicalTraverser
Implements:
Constructors
Initializes traversal from the master template's current data view.
public PagedHierarchicalTraverser(MasterGridViewTemplate masterTemplate)
The master template whose data view supplies the root rows.
Properties
Methods
Rebuilds the pending-row stack so rows are visited in their data-view order.
protected virtual void BuildRowStack()
Determines whether traversal should add a hierarchy row's child-view rows to the stack.
protected virtual bool CanStepInHierarchy(GridViewHierarchyRowInfo hierarchyRow)
The hierarchy row whose child views may be traversed.
Returns:true by default, allowing traversal into the row's child views.
Advances to the next row and adds child-view rows when CanStepInHierarchy(GridViewHierarchyRowInfo) allows traversal.
Restarts traversal from the rows currently in the master template's data view.
public void Reset()
Implements: