ClassGridViewSummaryRowCollection
Represents a collection that stores the summary rows
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewSummaryRowCollection : IReadOnlyCollection<GridViewSummaryRowInfo>, IEnumerable, ITraversable
Inheritance: objectGridViewSummaryRowCollection
Implements:
Constructors
GridViewSummaryRowCollection(IList<GridViewSummaryRowInfo>)
Initializes a new instance of the GridViewSummaryRowCollection class.
Declaration
public GridViewSummaryRowCollection(IList<GridViewSummaryRowInfo> list)
Parameters
list
IList<GridViewSummaryRowInfo>
The list.
Properties
Count
Gets the count.
Items
Gets the items.
Declaration
protected IList<GridViewSummaryRowInfo> Items { get; }
Property Value
IList<GridViewSummaryRowInfo>
The items.
this[int]
Gets the item at the specified index.
Declaration
public GridViewSummaryRowInfo this[int index] { get; }
Parameters
index
Property Value
Implements
Methods
Contains(GridViewSummaryRowInfo)
Determines whether the specified value is contained.
Declaration
public bool Contains(GridViewSummaryRowInfo value)
Parameters
value
The value.
Returns
true if [contains] [the specified value]; otherwise, false.
Implements
Contains(GridViewSummaryRowItem)
Determines whether the specified summary item is contained.
Declaration
public bool Contains(GridViewSummaryRowItem summaryItem)
Parameters
summaryItem
The summary item.
Returns
CopyTo(GridViewSummaryRowInfo[], int)
Copies the summary rows collection to an array.
Declaration
public void CopyTo(GridViewSummaryRowInfo[] array, int index)
Parameters
array
The array.
index
The index.
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<GridViewSummaryRowInfo> GetEnumerator()
Returns
IEnumerator<GridViewSummaryRowInfo>
A IEnumerator<T> that can be used to iterate through the collection.
IndexOf(GridViewSummaryRowInfo)
Returns the indexes of specific summary row.
Declaration
public int IndexOf(GridViewSummaryRowInfo value)
Parameters
value
The value.
Returns
Implements
IndexOf(GridViewSummaryRowItem)
Returns the indexes of the specific summary item.
Declaration
public int IndexOf(GridViewSummaryRowItem summaryItem)
Parameters
summaryItem
The summary item.
Returns