Class GridViewRowInfoEnumerator
Represents an enumerator for the grid rows.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewRowInfoEnumerator : ITraverser<GridViewRowInfo>, IEnumerator<GridViewRowInfo>, IDisposable, IEnumerator, IEnumerable
Constructors
GridViewRowInfoEnumerator(IHierarchicalRow)
Initializes a new instance of the GridViewRowInfoEnumerator class.
Declaration
public GridViewRowInfoEnumerator(IHierarchicalRow startPosition)
Parameters
IHierarchicalRow
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
GridViewRowInfo
The element in the collection at the current position of the enumerator. |
Implements
Position
Gets or sets the position.
Declaration
public object Position { get; set; }
Property Value
System.Object
The position. |
Implements
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
System.Collections.IEnumerator
An System.Collections.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
System.Boolean
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
Implements
Exceptions
System.InvalidOperationException
The collection was modified after the enumerator was created. |
MovePrevious()
Moves the previous.
Declaration
public bool MovePrevious()
Returns
System.Boolean
|
Implements
MoveToEnd()
Moves to end.
Declaration
public bool MoveToEnd()
Returns
System.Boolean
|
Implements
OnRowVisible(GridViewRowInfo)
Called when the row is visible.
Declaration
protected virtual bool OnRowVisible(GridViewRowInfo row)
Parameters
GridViewRowInfo
row
The row. |
Returns
System.Boolean
|
OnStepInHierarchy(GridViewRowInfo)
Called when the user steps in the hierarchy.
Declaration
protected virtual bool OnStepInHierarchy(GridViewRowInfo row)
Parameters
GridViewRowInfo
row
The row. |
Returns
System.Boolean
|
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Implements
Exceptions
System.InvalidOperationException
The collection was modified after the enumerator was created. |
Events
RowVisible
StepInHierarchy
Declaration
public event RowEnumeratorEventHandler StepInHierarchy
Event Type
RowEnumeratorEventHandler
|
Explicit Interface Implementations
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
System.Object
|