Class GridCellCollection
Derives from SFArrayList and provides a strongly-typed Add(GridStyleInfoStore) method and a strongly typed indexer (Item[Int32]).
Implements
Inherited Members
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 |
---|
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. |