Class GridViewCellInfoCollection
A collection of GridViewCellInfo objects
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewCellInfoCollection : ICollection, IEnumerable<GridViewCellInfo>, IEnumerable
Constructors
GridViewCellInfoCollection(GridViewRowInfo)
Initializes a new instance of the GridViewCellInfoCollection class.
Declaration
public GridViewCellInfoCollection(GridViewRowInfo rowInfo)
Parameters
|
GridViewRowInfo
rowInfo
The associated GridViewRowInfo, owner of this collection |
Properties
Count
Gets the number of elements actually contained in the collection
Declaration
public int Count { get; }
Property Value
|
System.Int32
|
Implements
IsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread safe).
Declaration
public bool IsSynchronized { get; }
Property Value
|
System.Boolean
|
Implements
Item[Int32]
Gets the column with the specified index.
Declaration
public GridViewCellInfo this[int index] { get; }
Parameters
|
System.Int32
index
Index of the column to get |
Property Value
|
GridViewCellInfo
Instance of GridViewCellInfo if found or null |
Item[String]
Gets the first cell with UniqueName found.
Declaration
public GridViewCellInfo this[string name] { get; }
Parameters
|
System.String
name
Unique name of the column to get |
Property Value
|
GridViewCellInfo
Instance of GridViewCellInfo if found or null |
SyncRoot
Gets an object that can be used to synchronize access to the ArrayList.
Declaration
public object SyncRoot { get; }
Property Value
|
System.Object
|
Implements
Methods
CopyTo(Array, Int32)
Copies all the elements of the current collection to the specified collection.
Declaration
public void CopyTo(Array array, int index)
Parameters
|
System.Array
array
The collection that is the destination of the elements copied from the current collection. |
|
System.Int32
index
An integer that represents the index in collection at which copying begins. |
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection
Declaration
public IEnumerator<GridViewCellInfo> GetEnumerator()
Returns
|
System.Collections.Generic.IEnumerator<GridViewCellInfo>
|
Implements
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through the collection
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
|
System.Collections.IEnumerator
|