Stores table grid columns in their layout order; each list index is the corresponding column index.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class TableGridColumnCollection : IEnumerable
Inheritance: objectTableGridColumnCollection
Implements:
Constructors
Creates an empty table grid column collection.
public TableGridColumnCollection()
Properties
Gets whether the collection is read-only. This collection always allows modification.
public bool IsReadOnly { get; }
Gets or replaces the column at the specified grid index.
public TableGridColumn this[int index] { get; set; }
The zero-based grid column index.
Property Value:The column at index.
Methods
Adds a column at the end of the grid order.
Removes all columns from the collection.
public void Clear()
Gets whether the specified column is in the collection.
public bool Contains(TableGridColumn item)
The column to locate.
Returns:Copies the columns to an array, starting at the specified destination index.
public void CopyTo(TableGridColumn[] array, int arrayIndex)
The destination array.
arrayIndexintThe zero-based destination index at which copying begins.
Returns an enumerator that visits columns in grid order.
public IEnumerator<TableGridColumn> GetEnumerator()
IEnumerator<TableGridColumn>
An enumerator over the columns.
Gets the zero-based grid index of the first matching column.
public int IndexOf(TableGridColumn item)
The column to locate.
Returns:The index of the column, or -1 if it is not present.
Inserts a column at the specified grid index and shifts following columns to the right.
public void Insert(int index, TableGridColumn item)
The zero-based index at which to insert the column.
itemTableGridColumnThe column to insert.
Removes the first matching column from the collection.
public bool Remove(TableGridColumn item)
The column to remove.
Returns:Removes the column at the specified grid index and shifts following columns to the left.
Removes the final column in the collection.