CellsCollection
Represents a collection of CellElement items used by the CSV export pipeline.
Definition
Namespace:Telerik.WinControls.UI.Export.CSV
Assembly:TelerikData.dll
Syntax:
public class CellsCollection : IList, ICollection, IEnumerable
Inheritance: objectCellsCollection
Implements:
Constructors
Initializes a new instance of the CellsCollection class.
public CellsCollection()
Properties
Gets the number of elements contained in the collection.
public int Count { get; }
Implements:
Gets a value indicating whether the collection has a fixed size.
public bool IsFixedSize { get; }
Implements:
Gets a value indicating whether the collection is read-only.
public bool IsReadOnly { get; }
Implements:
Gets a value indicating whether access to the collection is synchronized.
public bool IsSynchronized { get; }
Implements:
Gets an object that can be used to synchronize access to the collection.
public object SyncRoot { get; }
Implements:
Gets or sets the cell at the specified index.
public CellElement this[int index] { get; set; }
The zero-based index of the cell.
Property Value:The cell at the specified index.
Methods
Adds the specified cell to the collection.
public int Add(CellElement value)
The cell to add.
Returns:The zero-based index at which the cell was added.
Removes all cells from the collection.
public void Clear()
Implements:
Determines whether the specified cell exists in the collection.
public bool Contains(CellElement value)
The cell to locate.
Returns:true if the cell is found; otherwise, false.
Returns an enumerator that iterates through the collection.
public IEnumerator GetEnumerator()
An enumerator for the collection.
Implements:
Returns the zero-based index of the specified cell.
public int IndexOf(CellElement value)
The cell to locate.
Returns:The zero-based index of the cell if found; otherwise, -1.
Inserts a cell at the specified index.
public void Insert(int index, CellElement value)
The zero-based index at which to insert the cell.
valueCellElementThe cell to insert.
Removes the specified cell from the collection.