Class
GridViewChildRowCollection

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewChildRowCollection : IReadOnlyCollection<GridViewRowInfo>, IList, ICollection, IEnumerable, ITraversable

Inheritance: objectGridViewChildRowCollection

Implements: ICollectionIEnumerableIListIReadOnlyCollection<GridViewRowInfo>ITraversable

Constructors

GridViewChildRowCollection()

Initializes a new instance of the GridViewChildRowCollection class.

Declaration

cs-api-definition
public GridViewChildRowCollection()

Fields

Empty

Declaration

cs-api-definition
public static GridViewChildRowCollection Empty

Field Value

GridViewChildRowCollection

rows

Declaration

cs-api-definition
protected IReadOnlyCollection<GridViewRowInfo> rows

Field Value

IReadOnlyCollection<GridViewRowInfo>

Properties

Count

Gets the count.

Declaration

cs-api-definition
public virtual int Count { get; }

Property Value

int

The count.

Implements IReadOnlyCollection<GridViewRowInfo>.CountICollection.CountITraversable.Count

IsFixedSize

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

Declaration

cs-api-definition
public bool IsFixedSize { get; }

Property Value

bool

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

Implements IList.IsFixedSize

IsReadOnly

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

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

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

Implements IList.IsReadOnly

this[int]

Gets the GridViewRowInfo at the specified index.

Declaration

cs-api-definition
public virtual GridViewRowInfo this[int index] { get; }

Parameters

index

int

Property Value

GridViewRowInfo

Implements IReadOnlyCollection<GridViewRowInfo>.this[int]

Methods

Contains(GridViewRowInfo)

Determines whether [contains] [the specified item].

Declaration

cs-api-definition
public virtual bool Contains(GridViewRowInfo item)

Parameters

item

GridViewRowInfo

The item.

Returns

bool

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

Implements IReadOnlyCollection<GridViewRowInfo>.Contains(GridViewRowInfo)

CopyTo(GridViewRowInfo[], int)

Copies to.

Declaration

cs-api-definition
public void CopyTo(GridViewRowInfo[] array, int arrayIndex)

Parameters

array

GridViewRowInfo[]

The array.

arrayIndex

int

Index of the array.

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

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<GridViewRowInfo> GetEnumerator()

Returns

IEnumerator<GridViewRowInfo>

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

IndexOf(GridViewRowInfo)

Indexes the of.

Declaration

cs-api-definition
public virtual int IndexOf(GridViewRowInfo item)

Parameters

item

GridViewRowInfo

The item.

Returns

int

Implements IReadOnlyCollection<GridViewRowInfo>.IndexOf(GridViewRowInfo)

Load(IList<GridViewRowInfo>)

Loads the specified rows.

Declaration

cs-api-definition
public void Load(IList<GridViewRowInfo> rows)

Parameters

rows

IList<GridViewRowInfo>

The rows.

Load(IReadOnlyCollection<GridViewRowInfo>)

Loads the specified rows.

Declaration

cs-api-definition
public void Load(IReadOnlyCollection<GridViewRowInfo> rows)

Parameters

rows

IReadOnlyCollection<GridViewRowInfo>

The rows.

Remove(object)

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

Declaration

cs-api-definition
public void Remove(object value)

Parameters

value

object

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)

RemoveAt(int)

Removes the IList item at the specified index.

Declaration

cs-api-definition
public void RemoveAt(int index)

Parameters

index

int

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)