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

Represents a collection that stores the summary rows

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewSummaryRowCollection : IReadOnlyCollection<GridViewSummaryRowInfo>, IEnumerable, ITraversable

Inheritance: objectGridViewSummaryRowCollection

Implements: IEnumerableIReadOnlyCollection<GridViewSummaryRowInfo>ITraversable

Constructors

Initializes a new instance of the GridViewSummaryRowCollection class.

C#
public GridViewSummaryRowCollection(IList<GridViewSummaryRowInfo> list)
Parameters:listIList<GridViewSummaryRowInfo>

The list.

Properties

Gets the count.

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

The count.

Implements: IReadOnlyCollection<GridViewSummaryRowInfo>.CountITraversable.Count

Gets the items.

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

The items.

Gets the item at the specified index.

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

Implements: IReadOnlyCollection<GridViewSummaryRowInfo>.this[int]

Methods

Determines whether the specified value is contained.

C#
public bool Contains(GridViewSummaryRowInfo value)
Parameters:valueGridViewSummaryRowInfo

The value.

Returns:

bool

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

Implements: IReadOnlyCollection<GridViewSummaryRowInfo>.Contains(GridViewSummaryRowInfo)

Determines whether the specified summary item is contained.

C#
public bool Contains(GridViewSummaryRowItem summaryItem)
Parameters:summaryItemGridViewSummaryRowItem

The summary item.

Returns:

bool

Copies the summary rows collection to an array.

C#
public void CopyTo(GridViewSummaryRowInfo[] array, int index)
Parameters:arrayGridViewSummaryRowInfo[]

The array.

indexint

The index.

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

Returns an enumerator that iterates through the collection.

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

IEnumerator<GridViewSummaryRowInfo>

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

Returns the indexes of specific summary row.

C#
public int IndexOf(GridViewSummaryRowInfo value)
Parameters:valueGridViewSummaryRowInfo

The value.

Returns:

int

Implements: IReadOnlyCollection<GridViewSummaryRowInfo>.IndexOf(GridViewSummaryRowInfo)

Returns the indexes of the specific summary item.

C#
public int IndexOf(GridViewSummaryRowItem summaryItem)
Parameters:summaryItemGridViewSummaryRowItem

The summary item.

Returns:

int