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

Represents a collection that stores that stores the pinned rows

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewPinnedRowCollection : IReadOnlyCollection<GridViewRowInfo>, IEnumerable, ITraversable

Inheritance: objectGridViewPinnedRowCollection

Implements: IEnumerableIReadOnlyCollection<GridViewRowInfo>ITraversable

Constructors

Initializes a new instance of the GridViewPinnedRowCollection class.

C#
public GridViewPinnedRowCollection(GridViewInfo viewInfo)
Parameters:viewInfoGridViewInfo

The view info.

Properties

Gets the count.

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

The count.

Implements: IReadOnlyCollection<GridViewRowInfo>.CountITraversable.Count

Gets the item at the specified index.

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

Implements: IReadOnlyCollection<GridViewRowInfo>.this[int]

Methods

Determines whether pinned rows collection contains the specified row.

C#
public bool Contains(GridViewRowInfo item)
Parameters:itemGridViewRowInfoReturns:

bool

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

Implements: IReadOnlyCollection<GridViewRowInfo>.Contains(GridViewRowInfo)

Copies to the array starting at the specified index.

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

The array.

indexint

The index.

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.

Returns the index of the specific item.

C#
public int IndexOf(GridViewRowInfo item)
Parameters:itemGridViewRowInfoReturns:

int

Implements: IReadOnlyCollection<GridViewRowInfo>.IndexOf(GridViewRowInfo)