Class
VisualRowsCollection.VisualRowsCollectionEnumerator

Enumerator for the visual row elements.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class VisualRowsCollection.VisualRowsCollectionEnumerator : IDisposable, IEnumerator

Inheritance: objectVisualRowsCollection.VisualRowsCollectionEnumerator

Implements: IDisposableIEnumerator

Constructors

VisualRowsCollectionEnumerator(VisualRowsCollection)

Initializes a new instance of the VisualRowsCollection.VisualRowsCollectionEnumerator class.

Declaration

cs-api-definition
public VisualRowsCollectionEnumerator(VisualRowsCollection collection)

Parameters

collection

VisualRowsCollection

The visual rows collection.

Properties

Current

Gets the element in the collection at the current position of the enumerator.

Declaration

cs-api-definition
public GridRowElement Current { get; }

Property Value

GridRowElement

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

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

MoveNext()

Advances the enumerator to the next element of the collection.

Declaration

cs-api-definition
public bool MoveNext()

Returns

bool

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Exceptions

InvalidOperationException

The collection was modified after the enumerator was created.

Implements IEnumerator.MoveNext()

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

Declaration

cs-api-definition
public void Reset()

Exceptions

InvalidOperationException

The collection was modified after the enumerator was created.

Implements IEnumerator.Reset()