ClassTableGridColumnCollection
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
TableGridColumnCollection()
Declaration
public TableGridColumnCollection()
Properties
Count
Gets the number of columns in the table grid column collection.
IsReadOnly
Gets a value indicating whether the collection of table grid columns is read-only.
this[int]
Declaration
public TableGridColumn this[int index] { get; set; }
Parameters
index
Property Value
Implements
Methods
Add(TableGridColumn)
Adds a new TableGridColumn to the collection.
Declaration
public void Add(TableGridColumn item)
Parameters
item
The TableGridColumn to be added to the collection.
Implements
Clear()
Removes all columns from the TableGridColumnCollection.
Declaration
public void Clear()
Implements
Contains(TableGridColumn)
Determines whether the specified TableGridColumn is contained in the collection.
Declaration
public bool Contains(TableGridColumn item)
Parameters
item
The TableGridColumn to locate in the collection.
Returns
True if the collection contains the specified TableGridColumn; otherwise, false.
Implements
CopyTo(TableGridColumn[], int)
Copies the elements of the current TableGridColumnCollection to the specified array, starting at a specified index.
Declaration
public void CopyTo(TableGridColumn[] array, int arrayIndex)
Parameters
array
The array to which the elements are copied.
arrayIndex
The zero-based index in the array at which copying begins.
Implements
GetEnumerator()
Retrieves an enumerator that iterates through the collection of table grid columns.
Declaration
public IEnumerator<TableGridColumn> GetEnumerator()
Returns
An enumerator positioned at the start of the collection, allowing iteration through the table grid columns.
Implements
IndexOf(TableGridColumn)
Retrieves the zero-based index of a specified TableGridColumn within the collection.
Declaration
public int IndexOf(TableGridColumn item)
Parameters
item
The TableGridColumn to locate in the collection.
Returns
The zero-based index of the specified TableGridColumn if found; otherwise, -1.
Implements
Insert(int, TableGridColumn)
Inserts a TableGridColumn at the specified index in the collection.
Declaration
public void Insert(int index, TableGridColumn item)
Parameters
index
The zero-based index at which the column should be inserted.
item
The TableGridColumn to insert.
Implements
Remove(TableGridColumn)
Removes the specified TableGridColumn from the collection.
Declaration
public bool Remove(TableGridColumn item)
Parameters
item
The TableGridColumn to remove from the collection.
Returns
Returns true if the column was successfully removed; otherwise, false.
Implements
RemoveAt(int)
Removes the column at the specified index from the collection.
Declaration
public void RemoveAt(int index)
Parameters
index
The zero-based index of the column to remove.
Implements
RemoveLast()
Removes the last column from the collection.
Declaration
public void RemoveLast()