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

Represents a collection containing the system rows in RadGridView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewSystemRowCollection : IReadOnlyCollection<GridViewSystemRowInfo>, IEnumerable, ITraversable

Inheritance: objectGridViewSystemRowCollection

Implements: IEnumerableIReadOnlyCollection<GridViewSystemRowInfo>ITraversable

Constructors

Initializes a new instance of the GridViewSystemRowCollection class.

C#
public GridViewSystemRowCollection(GridViewInfo viewInfo)
Parameters:viewInfoGridViewInfo

The view info.

Properties

Gets the count.

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

The count.

Implements: IReadOnlyCollection<GridViewSystemRowInfo>.CountITraversable.Count

Gets the items.

C#
protected IList<GridViewSystemRowInfo> Items { get; }
Property Value:

The items.

Gets the item at the specified index.

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

Implements: IReadOnlyCollection<GridViewSystemRowInfo>.this[int]

Methods

Determines whether the specified value is contained.

C#
public bool Contains(GridViewSystemRowInfo value)
Parameters:valueGridViewSystemRowInfo

The value.

Returns:

bool

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

Implements: IReadOnlyCollection<GridViewSystemRowInfo>.Contains(GridViewSystemRowInfo)

Copies the system rows collection to an array.

C#
public void CopyTo(GridViewSystemRowInfo[] array, int index)
Parameters:arrayGridViewSystemRowInfo[]

The array.

indexint

The index.

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

Returns an enumerator that iterates through the collection.

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

IEnumerator<GridViewSystemRowInfo>

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

Returns the index of the system row.

C#
public int IndexOf(GridViewSystemRowInfo value)
Parameters:valueGridViewSystemRowInfo

The value.

Returns:

int

Implements: IReadOnlyCollection<GridViewSystemRowInfo>.IndexOf(GridViewSystemRowInfo)

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

C#
public void Move(int indexFrom, int indexTo)
Parameters:indexFromint

The index from.

indexToint

The index to.