Class ColumnHeaderRowCollectionEnumerator
Defines the class for ColumnHeaderRow elements of a ColumnHeaderRowCollection.
Inheritance
System.Object
ColumnHeaderRowCollectionEnumerator
Implements
System.Collections.IEnumerator
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class ColumnHeaderRowCollectionEnumerator : Object, IEnumerator
Constructors
ColumnHeaderRowCollectionEnumerator(ColumnHeaderRowCollection)
Initializes the instance of the ColumnHeaderRowCollectionEnumerator class and attaches it to the collection.
Declaration
public ColumnHeaderRowCollectionEnumerator(ColumnHeaderRowCollection collection)
Parameters
| Type | Name | Description |
|---|---|---|
| ColumnHeaderRowCollection | collection | The parent collection to enumerate. |
Properties
Current
Gets the current element in the collection.
Declaration
public ColumnHeaderRow Current { get; }
Property Value
| Type |
|---|
| ColumnHeaderRow |
Methods
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| System.Boolean | IfTruethe enumerator was successfully advanced to the next element;Otherwise False and the enumerator has passed the end of the collection. |
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public virtual void Reset()
Implements
System.Collections.IEnumerator