Provides indexed and enumerable access to the child rows supplied by a grid view.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewChildRowCollection : IReadOnlyCollection<GridViewRowInfo>, IList, ICollection, IEnumerable, ITraversable
Inheritance: objectGridViewChildRowCollection
Implements:
Constructors
Initializes a new instance of the GridViewChildRowCollection class.
public GridViewChildRowCollection()
Fields
The shared collection instance used when a row has no child-row collection.
public static GridViewChildRowCollection Empty
The read-only row collection currently exposed by this wrapper.
protected IReadOnlyCollection<GridViewRowInfo> rows
Properties
Methods
Determines whether [contains] [the specified item].
public virtual bool Contains(GridViewRowInfo item)
The item.
Returns:true if [contains] [the specified item]; otherwise, false.
Implements:
Copies to.
public void CopyTo(GridViewRowInfo[] array, int arrayIndex)
The array.
arrayIndexintIndex of the array.
Implements:
Returns an enumerator that iterates through the collection.
public IEnumerator<GridViewRowInfo> GetEnumerator()
IEnumerator<GridViewRowInfo>
A IEnumerator<T> that can be used to iterate through the collection.
Indexes the of.
public virtual int IndexOf(GridViewRowInfo item)
The item.
Returns:Implements:
Loads the specified rows.
Loads the specified rows.
public void Load(IReadOnlyCollection<GridViewRowInfo> rows)
The rows.
This operation is not implemented and does not remove the specified object.
public void Remove(object value)
The object to remove from the IList.
Exceptions: NotImplementedExceptionRemoving items is not implemented.
Implements:
Does nothing; this collection does not remove child rows by index.
public void RemoveAt(int index)
The zero-based index of the item to remove.
Implements: