GridTraverser
Represents the rows traverser in RadGridView
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridTraverser : ITraverser<GridViewRowInfo>, IDisposable, IEnumerator, IEnumerable
Inheritance: objectGridTraverser
Derived Classes:
Implements:
Constructors
Initializes a new instance of the GridTraverser class.
public GridTraverser(GridTraverser gridTraverser)
The grid traverser.
Initializes a new instance of the GridTraverser class.
public GridTraverser(GridViewInfo viewInfo, GridTraverser.TraversalModes type)
The view info.
typeGridTraverser.TraversalModesThe type.
Initializes a new instance of the GridTraverser class.
Initializes a new instance of the GridTraverser class.
public GridTraverser(IHierarchicalRow hierarchyRow)
The hierarchy row.
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 or sets the position.
public GridTraverser.GridTraverserPosition Position { get; set; }
The position.
Gets or sets the process hierarchy.
public bool ProcessHierarchy { get; set; }
The process hierarchy.
Gets or sets the traversal mode.
public GridTraverser.TraversalModes TraversalMode { get; set; }
The traversal mode.
Gets the traverser.
protected ITraverser<GridViewRowInfo> Traverser { get; }
The traverser.
Methods
Determines whether this instance can step in hierarchy.
Creates the traverser.
protected virtual void CreateTraverser(GridViewInfo viewInfo)
The view info.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public 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:
Gets the row count.
Goes to row.
Goes to the row at the specific index.
public GridViewRowInfo GoToRowIndex(int rowIndex)
Index of the row.
Returns:Determines whether the new row visible.
public static bool IsNewRowVisible(GridViewNewRowInfo newRow)
The new row.
Returns:Moves the backward.
Moves the forward.
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:
Events
Occurs when the row is visible.
public event RowEnumeratorEventHandler RowVisible