ClassVisualCellsCollection
Represents a collection that stores visual cell elements.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VisualCellsCollection : IEnumerable
Inheritance: objectVisualCellsCollection
Implements:
Constructors
VisualCellsCollection(GridRowElement)
Initializes a new instance of the VisualCellsCollection class.
Declaration
public VisualCellsCollection(GridRowElement row)
Parameters
row
The row.
Properties
Count
Gets the number of elements contained in the ICollection<T>.
Declaration
public int Count { get; }
Property Value
The number of elements contained in the ICollection<T>.
IsReadOnly
Gets a value indicating whether the ICollection<T> is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
true if the ICollection<T> is read-only; otherwise, false.
this[int]
Gets or sets the GridCellElement at the specified index.
Declaration
public GridCellElement this[int index] { get; set; }
Parameters
index
Property Value
Methods
Add(GridCellElement)
Adds the specified item.
Declaration
public void Add(GridCellElement item)
Parameters
item
The item.
Clear()
Removes all items from the ICollection<T>.
Declaration
public void Clear()
Exceptions
The ICollection<T> is read-only.
Contains(GridCellElement)
Determines whether the specified cell element is contained in the collection.
Declaration
public bool Contains(GridCellElement item)
Parameters
item
The item.
Returns
CopyTo(GridCellElement[], int)
Copies to the specific array starting from the index.
Declaration
public void CopyTo(GridCellElement[] array, int arrayIndex)
Parameters
array
The array.
arrayIndex
Index of the array.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<GridCellElement> GetEnumerator()
Returns
IEnumerator<GridCellElement>
A IEnumerator<T> that can be used to iterate through the collection.
IndexOf(GridCellElement)
Returns the index of the specified cell element.
Declaration
public int IndexOf(GridCellElement item)
Parameters
item
The item.
Returns
Insert(int, GridCellElement)
Inserts the specified index.
Declaration
public void Insert(int index, GridCellElement item)
Parameters
index
The index.
item
The item.
Remove(GridCellElement)
Removes the specified item.
Declaration
public bool Remove(GridCellElement item)
Parameters
item
The item.
Returns
RemoveAt(int)
Removes the IList<T> item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
index
The zero-based index of the item to remove.
Exceptions
index is not a valid index in the IList<T>.
The IList<T> is read-only.