Class GridBaseStyleCollection.GridBaseStyleEnumerator
Implements a strongly typed enumerator for GridBaseStyleCollection.
Inheritance
System.Object
GridBaseStyleCollection.GridBaseStyleEnumerator
Implements
System.Collections.IEnumerator
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridBaseStyleEnumerator : Object, IEnumerator
Constructors
GridBaseStyleEnumerator(GridBaseStyleCollection)
Enumerator constructor
Declaration
public GridBaseStyleEnumerator(GridBaseStyleCollection griMappings)
Parameters
| Type | Name | Description |
|---|---|---|
| GridBaseStyleCollection | griMappings | A collection of GridBaseStyle objects. |
Properties
Current
Gets the current element from the collection (strongly typed)
Declaration
public GridBaseStyle Current { get; }
Property Value
| Type |
|---|
| GridBaseStyle |
Methods
MoveNext()
Determines whether the enumerator moves to the next element of the collection
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the operation is successful; False otherwise. |
Reset()
Sets the enumerator to the first element in the collection
Declaration
public void Reset()
Implements
System.Collections.IEnumerator