Class GridColumnSpanDescriptorCollectionEnumerator
Represents the enumerator class for GridColumnSpanDescriptor elements of a GridColumnSpanDescriptorCollection.
Inheritance
System.Object
GridColumnSpanDescriptorCollectionEnumerator
Implements
System.Collections.IEnumerator
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridColumnSpanDescriptorCollectionEnumerator : Object, IEnumerator
Constructors
GridColumnSpanDescriptorCollectionEnumerator(GridColumnSpanDescriptorCollection)
Initializes a new instances of the GridColumnSpanDescriptorCollectionEnumerator class with the specified instances of the GridColumnSpanDescriptorCollection class.
Declaration
public GridColumnSpanDescriptorCollectionEnumerator(GridColumnSpanDescriptorCollection collection)
Parameters
| Type | Name | Description |
|---|---|---|
| GridColumnSpanDescriptorCollection | collection | The parent collection to enumerate. |
Properties
Current
Gets the current element in the collection.
Declaration
public GridColumnSpanDescriptor Current { get; }
Property Value
| Type |
|---|
| GridColumnSpanDescriptor |
Methods
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the enumerator was successfully advanced to the next element; False if 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