ClassGridViewRowInfoEnumerator
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
GridViewRowInfoEnumerator(IHierarchicalRow)
Initializes a new instance of the GridViewRowInfoEnumerator class.
Declaration
public GridViewRowInfoEnumerator(IHierarchicalRow startPosition)
Parameters
startPosition
The start position.
Properties
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public GridViewRowInfo Current { get; }
Property Value
The element in the collection at the current position of the enumerator.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
An IEnumerator object that can be used to iterate through the collection.
Implements
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
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
MovePrevious()
Moves the previous.
MoveToEnd()
Moves to end.
OnRowVisible(GridViewRowInfo)
Called when the row is visible.
Declaration
protected virtual bool OnRowVisible(GridViewRowInfo row)
Parameters
row
The row.
Returns
OnStepInHierarchy(GridViewRowInfo)
Called when the user steps in the hierarchy.
Declaration
protected virtual bool OnStepInHierarchy(GridViewRowInfo row)
Parameters
row
The row.
Returns
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Exceptions
The collection was modified after the enumerator was created.
Implements
Events
RowVisible
Declaration
public event RowEnumeratorEventHandler RowVisible
Event Value
StepInHierarchy
Declaration
public event RowEnumeratorEventHandler StepInHierarchy
Event Value