Class GridConditionalFormatDescriptorCollectionEnumerator
Represents an enumerator class for GridConditionalFormatDescriptor elements of a GridConditionalFormatDescriptorCollection.
Inheritance
System.Object
GridConditionalFormatDescriptorCollectionEnumerator
Implements
System.Collections.IEnumerator
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridConditionalFormatDescriptorCollectionEnumerator : Object, IEnumerator
Constructors
GridConditionalFormatDescriptorCollectionEnumerator(GridConditionalFormatDescriptorCollection)
Initializes a new instance of the GridConditionalFormatDescriptorCollectionEnumerator class and attaches it to the collection.
Declaration
public GridConditionalFormatDescriptorCollectionEnumerator(GridConditionalFormatDescriptorCollection parentCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| GridConditionalFormatDescriptorCollection | parentCollection | The parent collection to enumerate. |
Properties
Current
Gets the current element in the collection.
Declaration
public GridConditionalFormatDescriptor Current { get; }
Property Value
| Type |
|---|
| GridConditionalFormatDescriptor |
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