Class
GridViewCellInfoCollection

A collection of GridViewCellInfo objects

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewCellInfoCollection : ICollection, IEnumerable

Inheritance: objectGridViewCellInfoCollection

Implements: ICollectionIEnumerable

Constructors

GridViewCellInfoCollection(GridViewRowInfo)

Initializes a new instance of the GridViewCellInfoCollection class.

Declaration

cs-api-definition
public GridViewCellInfoCollection(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

The associated GridViewRowInfo, owner of this collection

Properties

Count

Gets the number of elements actually contained in the collection

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

Implements ICollection.Count

IsSynchronized

Gets a value indicating whether access to the collection is synchronized (thread safe).

Declaration

cs-api-definition
public bool IsSynchronized { get; }

Property Value

bool

Implements ICollection.IsSynchronized

SyncRoot

Gets an object that can be used to synchronize access to the ArrayList.

Declaration

cs-api-definition
public object SyncRoot { get; }

Property Value

object

Implements ICollection.SyncRoot

this[int]

Gets the column with the specified index.

Declaration

cs-api-definition
public GridViewCellInfo this[int index] { get; }

Parameters

index

int

Index of the column to get

Property Value

GridViewCellInfo

Instance of GridViewCellInfo if found or null

this[string]

Gets the first cell with UniqueName found.

Declaration

cs-api-definition
public GridViewCellInfo this[string name] { get; }

Parameters

name

string

Unique name of the column to get

Property Value

GridViewCellInfo

Instance of GridViewCellInfo if found or null

Methods

CopyTo(Array, int)

Copies all the elements of the current collection to the specified collection.

Declaration

cs-api-definition
public void CopyTo(Array array, int index)

Parameters

array

Array

The collection that is the destination of the elements copied from the current collection.

index

int

An integer that represents the index in collection at which copying begins.

Implements ICollection.CopyTo(Array, int)

GetEnumerator()

Returns an enumerator that iterates through the collection

Declaration

cs-api-definition
public IEnumerator<GridViewCellInfo> GetEnumerator()

Returns

IEnumerator<GridViewCellInfo>