Class
GridViewPinnedRowCollection

Represents a collection that stores that stores the pinned rows

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewPinnedRowCollection : IReadOnlyCollection<GridViewRowInfo>, IEnumerable, ITraversable

Inheritance: objectGridViewPinnedRowCollection

Implements: IEnumerableIReadOnlyCollection<GridViewRowInfo>ITraversable

Constructors

GridViewPinnedRowCollection(GridViewInfo)

Initializes a new instance of the GridViewPinnedRowCollection class.

Declaration

cs-api-definition
public GridViewPinnedRowCollection(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<GridViewRowInfo>.CountITraversable.Count

this[int]

Gets the item at the specified index.

Declaration

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

Parameters

index

int

Property Value

GridViewRowInfo

Implements IReadOnlyCollection<GridViewRowInfo>.this[int]

Methods

Contains(GridViewRowInfo)

Determines whether pinned rows collection contains the specified row.

Declaration

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

Parameters

item

GridViewRowInfo

Returns

bool

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

Implements IReadOnlyCollection<GridViewRowInfo>.Contains(GridViewRowInfo)

CopyTo(GridViewRowInfo[], int)

Copies to the array starting at the specified index.

Declaration

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

Parameters

array

GridViewRowInfo[]

The array.

index

int

The index.

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)

Returns the index of the specific item.

Declaration

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

Parameters

item

GridViewRowInfo

Returns

int

Implements IReadOnlyCollection<GridViewRowInfo>.IndexOf(GridViewRowInfo)