ClassGridViewCellInfoCollection
A collection of GridViewCellInfo objects
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewCellInfoCollection : ICollection, IEnumerable
Inheritance: objectGridViewCellInfoCollection
Implements:
Constructors
GridViewCellInfoCollection(GridViewRowInfo)
Initializes a new instance of the GridViewCellInfoCollection class.
Declaration
public GridViewCellInfoCollection(GridViewRowInfo rowInfo)
Parameters
rowInfo
The associated GridViewRowInfo, owner of this collection
Properties
Count
Gets the number of elements actually contained in the collection
IsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread safe).
SyncRoot
Gets an object that can be used to synchronize access to the ArrayList.
this[int]
Gets the column with the specified index.
Declaration
public GridViewCellInfo this[int index] { get; }
Parameters
index
Index of the column to get
Property Value
Instance of GridViewCellInfo if found or null
this[string]
Gets the first cell with UniqueName found.
Declaration
public GridViewCellInfo this[string name] { get; }
Parameters
name
Unique name of the column to get
Property Value
Instance of GridViewCellInfo if found or null
Methods
CopyTo(Array, int)
Copies all the elements of the current collection to the specified collection.
GetEnumerator()
Returns an enumerator that iterates through the collection
Declaration
public IEnumerator<GridViewCellInfo> GetEnumerator()
Returns
IEnumerator<GridViewCellInfo>