menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellInfoCollection.GridCellInfoEnumerator - API Reference

    Show / Hide Table of Contents

    Class GridCellInfoCollection.GridCellInfoEnumerator

    Implements strongly typed enumerator for 'GridCellInfoCollection'

    Inheritance
    System.Object
    GridCellInfoCollection.GridCellInfoEnumerator
    Implements
    System.Collections.IEnumerator
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridCellInfoEnumerator : IEnumerator

    Constructors

    GridCellInfoEnumerator(GridCellInfoCollection)

    Initializes the new instances of the GridCellInfoCollection.GridCellInfoEnumerator class.

    Declaration
    public GridCellInfoEnumerator(GridCellInfoCollection griMappings)
    Parameters
    Type Name Description
    GridCellInfoCollection griMappings

    A collection of GridCellInfo objects.

    Properties

    Current

    Gets the current element from the collection (strongly typed)

    Declaration
    public GridCellInfo Current { get; }
    Property Value
    Type Description
    GridCellInfo

    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 next element exists; False otherwise.

    Reset()

    Sets the enumerator to the first element in the collection

    Declaration
    public void Reset()

    Explicit Interface Implementations

    IEnumerator.Current

    Gets the current element from the collection

    Declaration
    object IEnumerator.Current { get; }
    Returns
    Type Description
    System.Object

    IEnumerator.MoveNext()

    Determines whether the enumerator moves to the next element of the collection

    Declaration
    bool IEnumerator.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.

    Exceptions
    Type Condition
    System.InvalidOperationException

    The collection was modified after the enumerator was created.

    IEnumerator.Reset()

    Sets the enumerator to the first element in the collection

    Declaration
    void IEnumerator.Reset()

    Implements

    System.Collections.IEnumerator
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved