Represents a collection of table grid rows in a document model.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class TableGridRowCollection : ICollection<TableGridRow>, IEnumerable<TableGridRow>, IEnumerable
Inheritance: objectTableGridRowCollection
Implements:
Constructors
public TableGridRowCollection()
Properties
Gets the number of rows in the TableGridRowCollection.
public int Count { get; }
Implements:
Gets a value indicating whether the collection is read-only.
public bool IsReadOnly { get; }
True if the collection is read-only; otherwise, false.
Implements:
Methods
Adds a new TableGridRow to the collection.
public void Add(TableGridRow item)
The TableGridRow to be added to the collection.
Implements:
Removes all elements from the TableGridRowCollection, effectively clearing the collection.
public void Clear()
Implements:
This method does not return any value, but it modifies the collection to ensure it is empty.
Determines whether the collection contains a specific row.
public bool Contains(TableGridRow item)
The row to locate in the collection.
Returns:True if the collection contains the specified row; otherwise, false.
Implements:
Copies the elements of the TableGridRowCollection to a specified one-dimensional array, starting at the specified array index.
public void CopyTo(TableGridRow[] array, int arrayIndex)
The one-dimensional array that is the destination of the elements copied from the TableGridRowCollection. The array must have zero-based indexing.
arrayIndexintThe zero-based index in the destination array at which storing the first element from the TableGridRowCollection.
Implements:
Returns an enumerator that iterates through the collection of table grid rows.
public IEnumerator<TableGridRow> GetEnumerator()
An enumerator that can be used to iterate through the TableGridRowCollection.
Implements:
Removes a specified row from the collection of table grid rows.
public bool Remove(TableGridRow item)
The row to be removed from the collection.
Returns:Always returns true if the row was successfully removed; otherwise, false.
Implements:
Returns a string representation of the current instance of the TableGridRowCollection.
public override string ToString()
A string that represents the current TableGridRowCollection.
Overrides: