menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRowColEntryCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridRowColEntryCollection

    Implements a collection that stores 'GridRowColEntry' objects.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    GridRowColEntryCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid.Design
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridRowColEntryCollection : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    GridRowColEntryCollection()

    Initializes an empty instances of GridRowColEntryCollection class.

    Declaration
    public GridRowColEntryCollection()

    GridRowColEntryCollection(GridRowColEntry[])

    Initializes an empty instances of GridRowColEntryCollection class.

    Declaration
    public GridRowColEntryCollection(GridRowColEntry[] griValue)
    Parameters
    Type Name Description
    GridRowColEntry[] griValue

    An array of 'GridRowColEntry' objects with which to initialize the collection

    GridRowColEntryCollection(GridRowColEntryCollection)

    Initializes an empty instances of GridRowColEntryCollection class.

    Declaration
    public GridRowColEntryCollection(GridRowColEntryCollection griValue)
    Parameters
    Type Name Description
    GridRowColEntryCollection griValue

    A 'GridRowColEntryCollection' from which the contents is copied

    Properties

    Item[Int32]

    Gets or sets the 'GridRowColEntry' item at the specified index position.

    Declaration
    public GridRowColEntry this[int intIndex] { get; set; }
    Parameters
    Type Name Description
    System.Int32 intIndex

    The zero-based index of the entry to locate in the collection.

    Property Value
    Type Description
    GridRowColEntry

    The entry at the specified index of the collection.

    Methods

    Add(GridRowColEntry)

    Adds a 'GridRowColEntry' item with the specified value to the 'GridRowColEntryCollection'

    Declaration
    public int Add(GridRowColEntry griValue)
    Parameters
    Type Name Description
    GridRowColEntry griValue

    The 'GridRowColEntry' to add.

    Returns
    Type Description
    System.Int32

    The index at which the new element was inserted.

    AddRange(GridRowColEntry[])

    Copies the elements of an array at the end of this instance of 'GridRowColEntryCollection'.

    Declaration
    public void AddRange(GridRowColEntry[] griValue)
    Parameters
    Type Name Description
    GridRowColEntry[] griValue

    An array of 'GridRowColEntry' objects to add to the collection.

    AddRange(GridRowColEntryCollection)

    Adds the contents of another 'GridRowColEntryCollection' at the end of this instance.

    Declaration
    public void AddRange(GridRowColEntryCollection griValue)
    Parameters
    Type Name Description
    GridRowColEntryCollection griValue

    A 'GridRowColEntryCollection' containing the objects to add to the collection.

    Contains(GridRowColEntry)

    Gets a value indicating whether the 'GridRowColEntryCollection' contains the specified value.

    Declaration
    public bool Contains(GridRowColEntry griValue)
    Parameters
    Type Name Description
    GridRowColEntry griValue

    The item to locate.

    Returns
    Type Description
    System.Boolean

    True if the item exists in the collection; false otherwise.

    CopyTo(GridRowColEntry[], Int32)

    Copies the 'GridRowColEntryCollection' values to a one-dimensional System.Array instance starting at the specified array index.

    Declaration
    public void CopyTo(GridRowColEntry[] griArray, int intIndex)
    Parameters
    Type Name Description
    GridRowColEntry[] griArray

    The one-dimensional System.Array that represents the copy destination.

    System.Int32 intIndex

    The index in the array where copying begins.

    GetEnumerator()

    Returns an enumerator that can be used to iterate through the 'GridRowColEntryCollection'.

    Declaration
    public GridRowColEntryCollection.GridRowColEntryEnumerator GetEnumerator()
    Returns
    Type Description
    GridRowColEntryCollection.GridRowColEntryEnumerator

    returns Enumerator.

    IndexOf(GridRowColEntry)

    Returns the index of a 'GridRowColEntry' object in the collection.

    Declaration
    public int IndexOf(GridRowColEntry griValue)
    Parameters
    Type Name Description
    GridRowColEntry griValue

    The 'GridRowColEntry' object whose index will be retrieved.

    Returns
    Type Description
    System.Int32

    If found, the index of the value; otherwise, -1.

    Insert(Int32, GridRowColEntry)

    Inserts an existing 'GridRowColEntry' into the collection at the specified index.

    Declaration
    public void Insert(int intIndex, GridRowColEntry griValue)
    Parameters
    Type Name Description
    System.Int32 intIndex

    The zero-based index where the new item should be inserted.

    GridRowColEntry griValue

    The item to insert.

    OnInsert(Int32, Object)

    TODO: Describe what custom processing this method does before inserting a new item in the collection

    Declaration
    protected override void OnInsert(int intIndex, object objValue)
    Parameters
    Type Name Description
    System.Int32 intIndex
    System.Object objValue
    Overrides
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)

    OnSet(Int32, Object, Object)

    TODO: Describe what custom processing this method does before setting an item in the collection

    Declaration
    protected override void OnSet(int intIndex, object objOldValue, object objNewValue)
    Parameters
    Type Name Description
    System.Int32 intIndex
    System.Object objOldValue
    System.Object objNewValue
    Overrides
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)

    Remove(GridRowColEntry)

    Removes a specific item from the 'GridRowColEntryCollection'.

    Declaration
    public void Remove(GridRowColEntry griValue)
    Parameters
    Type Name Description
    GridRowColEntry griValue

    The item to remove from the 'GridRowColEntryCollection'.

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved