Class
GridViewSystemRowCollection

Represents a collection containing the system rows in RadGridView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewSystemRowCollection : IReadOnlyCollection<GridViewSystemRowInfo>, IEnumerable, ITraversable

Inheritance: objectGridViewSystemRowCollection

Implements: IEnumerableIReadOnlyCollection<GridViewSystemRowInfo>ITraversable

Constructors

GridViewSystemRowCollection(GridViewInfo)

Initializes a new instance of the GridViewSystemRowCollection class.

Declaration

cs-api-definition
public GridViewSystemRowCollection(GridViewInfo viewInfo)

Parameters

viewInfo

GridViewInfo

The view info.

Properties

Count

Gets the count.

Declaration

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

Property Value

int

The count.

Implements IReadOnlyCollection<GridViewSystemRowInfo>.CountITraversable.Count

Items

Gets the items.

Declaration

cs-api-definition
protected IList<GridViewSystemRowInfo> Items { get; }

Property Value

IList<GridViewSystemRowInfo>

The items.

this[int]

Gets the item at the specified index.

Declaration

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

Parameters

index

int

Property Value

GridViewSystemRowInfo

Implements IReadOnlyCollection<GridViewSystemRowInfo>.this[int]

Methods

Contains(GridViewSystemRowInfo)

Determines whether the specified value is contained.

Declaration

cs-api-definition
public bool Contains(GridViewSystemRowInfo value)

Parameters

value

GridViewSystemRowInfo

The value.

Returns

bool

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

Implements IReadOnlyCollection<GridViewSystemRowInfo>.Contains(GridViewSystemRowInfo)

CopyTo(GridViewSystemRowInfo[], int)

Copies the system rows collection to an array.

Declaration

cs-api-definition
public void CopyTo(GridViewSystemRowInfo[] array, int index)

Parameters

array

GridViewSystemRowInfo[]

The array.

index

int

The index.

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

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

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

Returns

IEnumerator<GridViewSystemRowInfo>

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

IndexOf(GridViewSystemRowInfo)

Returns the index of the system row.

Declaration

cs-api-definition
public int IndexOf(GridViewSystemRowInfo value)

Parameters

value

GridViewSystemRowInfo

The value.

Returns

int

Implements IReadOnlyCollection<GridViewSystemRowInfo>.IndexOf(GridViewSystemRowInfo)

Move(int, int)

Moves the row from the specified index to the new one.

Declaration

cs-api-definition
public void Move(int indexFrom, int indexTo)

Parameters

indexFrom

int

The index from.

indexTo

int

The index to.