menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellCollection - API Reference

    Show / Hide Table of Contents

    Class GridCellCollection

    Derives from SFArrayList and provides a strongly-typed Add(GridStyleInfoStore) method and a strongly typed indexer (Item[Int32]).

    Inheritance
    System.Object
    System.Collections.ArrayList
    SFArrayList
    GridCellCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    Inherited Members
    SFArrayList.MoveRange(Int32, Int32, Int32)
    SFArrayList.EnsureCount(Int32)
    SFArrayList.RemoveRange(Int32, Int32)
    SFArrayList.InsertRange(Int32, Int32)
    System.Collections.ArrayList.Adapter(System.Collections.IList)
    System.Collections.ArrayList.Add(System.Object)
    System.Collections.ArrayList.AddRange(System.Collections.ICollection)
    System.Collections.ArrayList.BinarySearch(System.Int32, System.Int32, System.Object, System.Collections.IComparer)
    System.Collections.ArrayList.BinarySearch(System.Object)
    System.Collections.ArrayList.BinarySearch(System.Object, System.Collections.IComparer)
    System.Collections.ArrayList.Clear()
    System.Collections.ArrayList.Contains(System.Object)
    System.Collections.ArrayList.CopyTo(System.Array)
    System.Collections.ArrayList.CopyTo(System.Array, System.Int32)
    System.Collections.ArrayList.CopyTo(System.Int32, System.Array, System.Int32, System.Int32)
    System.Collections.ArrayList.FixedSize(System.Collections.IList)
    System.Collections.ArrayList.FixedSize(System.Collections.ArrayList)
    System.Collections.ArrayList.GetEnumerator()
    System.Collections.ArrayList.GetEnumerator(System.Int32, System.Int32)
    System.Collections.ArrayList.IndexOf(System.Object)
    System.Collections.ArrayList.IndexOf(System.Object, System.Int32)
    System.Collections.ArrayList.IndexOf(System.Object, System.Int32, System.Int32)
    System.Collections.ArrayList.Insert(System.Int32, System.Object)
    System.Collections.ArrayList.InsertRange(System.Int32, System.Collections.ICollection)
    System.Collections.ArrayList.LastIndexOf(System.Object)
    System.Collections.ArrayList.LastIndexOf(System.Object, System.Int32)
    System.Collections.ArrayList.LastIndexOf(System.Object, System.Int32, System.Int32)
    System.Collections.ArrayList.ReadOnly(System.Collections.IList)
    System.Collections.ArrayList.ReadOnly(System.Collections.ArrayList)
    System.Collections.ArrayList.Remove(System.Object)
    System.Collections.ArrayList.RemoveAt(System.Int32)
    System.Collections.ArrayList.Repeat(System.Object, System.Int32)
    System.Collections.ArrayList.Reverse()
    System.Collections.ArrayList.Reverse(System.Int32, System.Int32)
    System.Collections.ArrayList.SetRange(System.Int32, System.Collections.ICollection)
    System.Collections.ArrayList.GetRange(System.Int32, System.Int32)
    System.Collections.ArrayList.Sort()
    System.Collections.ArrayList.Sort(System.Collections.IComparer)
    System.Collections.ArrayList.Sort(System.Int32, System.Int32, System.Collections.IComparer)
    System.Collections.ArrayList.Synchronized(System.Collections.IList)
    System.Collections.ArrayList.Synchronized(System.Collections.ArrayList)
    System.Collections.ArrayList.ToArray()
    System.Collections.ArrayList.ToArray(System.Type)
    System.Collections.ArrayList.TrimToSize()
    System.Collections.ArrayList.Capacity
    System.Collections.ArrayList.Count
    System.Collections.ArrayList.IsFixedSize
    System.Collections.ArrayList.IsReadOnly
    System.Collections.ArrayList.IsSynchronized
    System.Collections.ArrayList.SyncRoot
    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 GridCellCollection : SFArrayList, IList, ICollection, IEnumerable, ICloneable

    Constructors

    GridCellCollection()

    Initializes a new instance of the SFArrayList class that is empty and has the default initial capacity.

    Declaration
    public GridCellCollection()

    GridCellCollection(ICollection)

    Initializes a new instance of the SFArrayList class that contains elements copied from the specified collection and that has the same initial capacity as the number of elements copied.

    Declaration
    public GridCellCollection(ICollection c)
    Parameters
    Type Name Description
    System.Collections.ICollection c

    The System.Collections.ICollection whose elements are copied to the new list.

    Properties

    Item[Int32]

    Gets or sets a GridStyleInfoStore for the specified index.

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

    row index of the GridStyleInfoStore

    Property Value
    Type Description
    GridStyleInfoStore

    Methods

    Add(GridStyleInfoStore)

    Appends a GridStyleInfoStore object to the list.

    Declaration
    public int Add(GridStyleInfoStore store)
    Parameters
    Type Name Description
    GridStyleInfoStore store

    The object to be added.

    Returns
    Type Description
    System.Int32

    The index of the new object.

    Clone()

    Creates a deep copy of the SFArrayList.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A deep copy of the SFArrayList.

    Overrides
    SFArrayList.Clone()

    Implements

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

    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 - 2023 Syncfusion Inc. All Rights Reserved