Represents the hierarchy row traverser.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class HierarchyRowTraverser : ITraverser<GridViewRowInfo>, IDisposable, IEnumerator, IEnumerable
Inheritance: objectHierarchyRowTraverser
Derived Classes:
Implements:
Constructors
Initializes a new instance of the HierarchyRowTraverser class.
public HierarchyRowTraverser(GridViewRowInfo hierarchyRow)
The hierarchy row.
Initializes a new instance of the HierarchyRowTraverser class.
public HierarchyRowTraverser(HierarchyRowTraverser traverser)
The traverser.
Initializes a new instance of the HierarchyRowTraverser class.
public HierarchyRowTraverser(HierarchyRowTraverser.HierarchyRowTraverserPosition position)
The position.
Properties
Gets the element in the collection at the current position of the enumerator.
public GridViewRowInfo Current { get; }
The element in the collection at the current position of the enumerator.
Gets the hierarchy row.
public GridViewRowInfo HierarchyRow { get; }
The hierarchy row.
Gets or sets the position.
public HierarchyRowTraverser.HierarchyRowTraverserPosition Position { get; set; }
The position.
Gets or sets whether to process the hidden rows.
public bool ProcessHiddenRows { get; set; }
The process hidden rows.
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
Implements:
Returns an enumerator that iterates through a collection.
public IEnumerator GetEnumerator()
An IEnumerator object that can be used to iterate through the collection.
Implements:
Advances the enumerator to the next element of the collection.
public bool MoveNext()
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Exceptions:The collection was modified after the enumerator was created.
Implements:
Moves the previous.
Moves to end.
Called when the row is visible.
Sets the enumerator to its initial position, which is before the first element in the collection.
public void Reset()
The collection was modified after the enumerator was created.
Implements:
Sets the current.
protected virtual void SetCurrent()
Events
Occurs when the row is visible.
public event RowEnumeratorEventHandler RowVisible