ClassVisualRowsCollection
Represents a collection of visual row elements.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VisualRowsCollection : IEnumerable
Inheritance: objectVisualRowsCollection
Implements:
Constructors
VisualRowsCollection(RowsContainerElement)
Initializes a new instance of the VisualRowsCollection class.
Declaration
public VisualRowsCollection(RowsContainerElement container)
Parameters
container
The container.
Properties
Count
Gets the number of elements contained in the ICollection<T>.
Declaration
public int Count { get; }
Property Value
The number of elements contained in the ICollection<T>.
IsReadOnly
Gets a value indicating whether the ICollection<T> is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
true if the ICollection<T> is read-only; otherwise, false.
this[int]
Gets or sets the GridRowElement at the specified index.
Declaration
public GridRowElement this[int index] { get; set; }
Parameters
index
Property Value
Methods
Add(GridRowElement)
Adds the specified item.
Declaration
public void Add(GridRowElement item)
Parameters
item
The item.
Clear()
Removes all items from the ICollection<T>.
Declaration
public void Clear()
Exceptions
The ICollection<T> is read-only.
Contains(GridRowElement)
Determines whether the specified row element is contained in the collection.
Declaration
public bool Contains(GridRowElement item)
Parameters
item
The item.
Returns
CopyTo(GridRowElement[], int)
Copies to the specific array starting from the index.
Declaration
public void CopyTo(GridRowElement[] array, int arrayIndex)
Parameters
array
The array.
arrayIndex
Index of the array.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<GridRowElement> GetEnumerator()
Returns
IEnumerator<GridRowElement>
A IEnumerator<T> that can be used to iterate through the collection.
IndexOf(GridRowElement)
Returns the index of specific row element.
Declaration
public int IndexOf(GridRowElement item)
Parameters
item
The item.
Returns
Insert(int, GridRowElement)
Inserts the row element at the specified index.
Declaration
public void Insert(int index, GridRowElement item)
Parameters
index
The index.
item
The item.
Remove(GridRowElement)
Removes the specified item.
Declaration
public bool Remove(GridRowElement item)
Parameters
item
The item.
Returns
RemoveAt(int)
Removes the IList<T> item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
index
The zero-based index of the item to remove.
Exceptions
index is not a valid index in the IList<T>.
The IList<T> is read-only.