Represents a collection of table grid columns in a document model.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class TableGridColumnCollection : IList<TableGridColumn>, ICollection<TableGridColumn>, IEnumerable<TableGridColumn>, IEnumerable
Inheritance: objectTableGridColumnCollection
Implements:
Constructors
public TableGridColumnCollection()
Properties
Gets the number of columns in the table grid column collection.
public int Count { get; }
Implements:
Gets a value indicating whether the collection of table grid columns is read-only.
public bool IsReadOnly { get; }
Implements:
Methods
Adds a new TableGridColumn to the collection.
public void Add(TableGridColumn item)
The TableGridColumn to be added to the collection.
Implements:
Removes all columns from the TableGridColumnCollection.
public void Clear()
Implements:
Determines whether the specified TableGridColumn is contained in the collection.
public bool Contains(TableGridColumn item)
The TableGridColumn to locate in the collection.
Returns:True if the collection contains the specified TableGridColumn; otherwise, false.
Implements:
Copies the elements of the current TableGridColumnCollection to the specified array, starting at a specified index.
public void CopyTo(TableGridColumn[] array, int arrayIndex)
The array to which the elements are copied.
arrayIndexintThe zero-based index in the array at which copying begins.
Implements:
Retrieves an enumerator that iterates through the collection of table grid columns.
public IEnumerator<TableGridColumn> GetEnumerator()
An enumerator positioned at the start of the collection, allowing iteration through the table grid columns.
Implements:
Retrieves the zero-based index of a specified TableGridColumn within the collection.
public int IndexOf(TableGridColumn item)
The TableGridColumn to locate in the collection.
Returns:The zero-based index of the specified TableGridColumn if found; otherwise, -1.
Implements:
Inserts a TableGridColumn at the specified index in the collection.
public void Insert(int index, TableGridColumn item)
The zero-based index at which the column should be inserted.
itemTableGridColumnThe TableGridColumn to insert.
Implements:
Removes the specified TableGridColumn from the collection.
public bool Remove(TableGridColumn item)
The TableGridColumn to remove from the collection.
Returns:Returns true if the column was successfully removed; otherwise, false.
Implements:
Removes the column at the specified index from the collection.
public void RemoveAt(int index)
The zero-based index of the column to remove.
Implements:
Removes the last column from the collection.
public void RemoveLast()