New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewChildRowCollection : IReadOnlyCollection<GridViewRowInfo>, IList, ICollection, IEnumerable, ITraversable

Inheritance: objectGridViewChildRowCollection

Implements: ICollectionIEnumerableIListIReadOnlyCollection<GridViewRowInfo>ITraversable

Constructors

Initializes a new instance of the GridViewChildRowCollection class.

C#
public GridViewChildRowCollection()

Fields

C#
public static GridViewChildRowCollection Empty
C#
protected IReadOnlyCollection<GridViewRowInfo> rows

Properties

Gets the count.

C#
public virtual int Count { get; }
Property Value:

The count.

Implements: IReadOnlyCollection<GridViewRowInfo>.CountICollection.CountITraversable.Count

Gets a value indicating whether the IList has a fixed size.

C#
public bool IsFixedSize { get; }
Property Value:

true if the IList has a fixed size; otherwise, false.

Implements: IList.IsFixedSize

Gets a value indicating whether the IList is read-only.

C#
public bool IsReadOnly { get; }
Property Value:

true if the IList is read-only; otherwise, false.

Implements: IList.IsReadOnly

Gets the GridViewRowInfo at the specified index.

C#
public virtual GridViewRowInfo this[int index] { get; }
Parameters:indexint

Implements: IReadOnlyCollection<GridViewRowInfo>.this[int]

Methods

Determines whether [contains] [the specified item].

C#
public virtual bool Contains(GridViewRowInfo item)
Parameters:itemGridViewRowInfo

The item.

Returns:

bool

true if [contains] [the specified item]; otherwise, false.

Implements: IReadOnlyCollection<GridViewRowInfo>.Contains(GridViewRowInfo)

Copies to.

C#
public void CopyTo(GridViewRowInfo[] array, int arrayIndex)
Parameters:arrayGridViewRowInfo[]

The array.

arrayIndexint

Index of the array.

Implements: IReadOnlyCollection<GridViewRowInfo>.CopyTo(GridViewRowInfo[], int)

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<GridViewRowInfo> GetEnumerator()
Returns:

IEnumerator<GridViewRowInfo>

A IEnumerator<T> that can be used to iterate through the collection.

Indexes the of.

C#
public virtual int IndexOf(GridViewRowInfo item)
Parameters:itemGridViewRowInfo

The item.

Returns:

int

Implements: IReadOnlyCollection<GridViewRowInfo>.IndexOf(GridViewRowInfo)

Loads the specified rows.

C#
public void Load(IList<GridViewRowInfo> rows)
Parameters:rowsIList<GridViewRowInfo>

The rows.

Loads the specified rows.

C#
public void Load(IReadOnlyCollection<GridViewRowInfo> rows)
Parameters:rowsIReadOnlyCollection<GridViewRowInfo>

The rows.

Removes the first occurrence of a specific object from the IList.

C#
public void Remove(object value)
Parameters:valueobject

The object to remove from the IList.

Exceptions:

NotSupportedException

The IList is read-only.-or- The IList has a fixed size.

Implements: IList.Remove(object)

Removes the IList item at the specified index.

C#
public void RemoveAt(int index)
Parameters:indexint

The zero-based index of the item to remove.

Exceptions:

ArgumentOutOfRangeException

index is not a valid index in the IList.

NotSupportedException

The IList is read-only.-or- The IList has a fixed size.

Implements: IList.RemoveAt(int)