ClassTableGridRowCollection
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
TableGridRowCollection()
Declaration
public TableGridRowCollection()
Properties
Count
Gets the number of rows in the TableGridRowCollection.
IsReadOnly
Gets a value indicating whether the collection is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
True if the collection is read-only; otherwise, false.
Implements
this[int]
Declaration
public TableGridRow this[int index] { get; set; }
Parameters
index
Property Value
Methods
Add(TableGridRow)
Adds a new TableGridRow to the collection.
Declaration
public void Add(TableGridRow item)
Parameters
item
The TableGridRow to be added to the collection.
Implements
Clear()
Removes all elements from the TableGridRowCollection, effectively clearing the collection.
Declaration
public void Clear()
Implements
Remarks
This method does not return any value, but it modifies the collection to ensure it is empty.
Contains(TableGridRow)
Determines whether the collection contains a specific row.
Declaration
public bool Contains(TableGridRow item)
Parameters
item
The row to locate in the collection.
Returns
True if the collection contains the specified row; otherwise, false.
Implements
CopyTo(TableGridRow[], int)
Copies the elements of the TableGridRowCollection to a specified one-dimensional array, starting at the specified array index.
Declaration
public void CopyTo(TableGridRow[] array, int arrayIndex)
Parameters
array
The one-dimensional array that is the destination of the elements copied from the TableGridRowCollection. The array must have zero-based indexing.
arrayIndex
The zero-based index in the destination array at which storing the first element from the TableGridRowCollection.
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection of table grid rows.
Declaration
public IEnumerator<TableGridRow> GetEnumerator()
Returns
An enumerator that can be used to iterate through the TableGridRowCollection.
Implements
Remove(TableGridRow)
Removes a specified row from the collection of table grid rows.
Declaration
public bool Remove(TableGridRow item)
Parameters
item
The row to be removed from the collection.
Returns
Always returns true if the row was successfully removed; otherwise, false.
Implements
ToString()
Returns a string representation of the current instance of the TableGridRowCollection.
Declaration
public override string ToString()
Returns
A string that represents the current TableGridRowCollection.
Overrides