Represents an enumerator for the grid rows.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewRowInfoEnumerator : ITraverser<GridViewRowInfo>, IDisposable, IEnumerator, IEnumerable
Inheritance: objectGridViewRowInfoEnumerator
Implements:
Constructors
Initializes a new instance of the GridViewRowInfoEnumerator class.
public GridViewRowInfoEnumerator(IHierarchicalRow startPosition)
The start 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.
Methods
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:
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.
protected virtual bool OnRowVisible(GridViewRowInfo row)
The row.
Returns:Called when the user steps in the hierarchy.
protected virtual bool OnStepInHierarchy(GridViewRowInfo row)
The row.
Returns: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
public event RowEnumeratorEventHandler RowVisible
public event RowEnumeratorEventHandler StepInHierarchy