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