ColumnsCollection
Represents a collection of ColumnElement items used by the ExcelML export pipeline.
Definition
Namespace:Telerik.WinControls.UI.Export.ExcelML
Assembly:TelerikData.dll
Syntax:
public class ColumnsCollection : IColumnsCollection, IList, ICollection, IEnumerable
Inheritance: objectColumnsCollection
Implements:
Constructors
Initializes a new instance of the ColumnsCollection class.
public ColumnsCollection()
Initializes a new instance of the ColumnsCollection class with the specified backing list.
public ColumnsCollection(IList list)
The backing list used to store column elements.
Properties
Gets a value indicating whether the collection has a fixed size.
public virtual bool IsFixedSize { get; }
Gets a value indicating whether the collection is read-only.
public virtual bool IsReadOnly { get; }
Gets a value indicating whether access to the collection is synchronized.
public bool IsSynchronized { get; }
Gets an object that can be used to synchronize access to the collection.
public object SyncRoot { get; }
Gets or sets the column at the specified index.
public virtual ColumnElement this[int index] { get; set; }
The zero-based index of the column.
Property Value:The column at the specified index.
Implements:
Methods
Adds the specified column to the collection.
public virtual int Add(ColumnElement value)
The column to add.
Returns:The zero-based index at which the column was added.
Implements:
Removes all columns from the collection.
public virtual void Clear()
Determines whether the specified column exists in the collection.
public virtual bool Contains(ColumnElement value)
The column to locate.
Returns:true if the column is found; otherwise, false.
Implements:
Copies the elements of the collection to a typed array, starting at the specified index.
public void CopyTo(ColumnElement[] array, int index)
The destination array.
indexintThe zero-based index in the destination array at which copying begins.
Implements:
Returns an enumerator that iterates through the collection.
public virtual IEnumerator GetEnumerator()
An enumerator for the collection.
Returns the zero-based index of the specified column.
public virtual int IndexOf(ColumnElement value)
The column to locate.
Returns:The zero-based index of the column if found; otherwise, -1.
Implements:
Inserts a column at the specified index.
public virtual void Insert(int index, ColumnElement value)
The zero-based index at which to insert the column.
valueColumnElementThe column to insert.
Implements:
Removes the specified column from the collection.
public virtual void Remove(ColumnElement value)
The column to remove.
Implements:
Removes the column at the specified index.
public virtual void RemoveAt(int index)
The zero-based index of the column to remove.