Class GridViewSummaryRowCollection
Represents a collection that stores the summary rows
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewSummaryRowCollection : IReadOnlyCollection<GridViewSummaryRowInfo>, IEnumerable<GridViewSummaryRowInfo>, IEnumerable, ITraversable
Constructors
GridViewSummaryRowCollection(IList<GridViewSummaryRowInfo>)
Initializes a new instance of the GridViewSummaryRowCollection class.
Declaration
public GridViewSummaryRowCollection(IList<GridViewSummaryRowInfo> list)
Parameters
System.Collections.Generic.IList<GridViewSummaryRowInfo>
list
The list. |
Properties
Count
Gets the count.
Declaration
public int Count { get; }
Property Value
System.Int32
The count. |
Implements
Item[Int32]
Gets the item at the specified index.
Declaration
public GridViewSummaryRowInfo this[int index] { get; }
Parameters
System.Int32
index
|
Property Value
GridViewSummaryRowInfo
|
Implements
Items
Gets the items.
Declaration
protected IList<GridViewSummaryRowInfo> Items { get; }
Property Value
System.Collections.Generic.IList<GridViewSummaryRowInfo>
The items. |
Methods
Contains(GridViewSummaryRowInfo)
Determines whether the specified value is contained.
Declaration
public bool Contains(GridViewSummaryRowInfo value)
Parameters
GridViewSummaryRowInfo
value
The value. |
Returns
System.Boolean
|
Implements
Contains(GridViewSummaryRowItem)
Determines whether the specified summary item is contained.
Declaration
public bool Contains(GridViewSummaryRowItem summaryItem)
Parameters
GridViewSummaryRowItem
summaryItem
The summary item. |
Returns
System.Boolean
|
CopyTo(GridViewSummaryRowInfo[], Int32)
Copies the summary rows collection to an array.
Declaration
public void CopyTo(GridViewSummaryRowInfo[] array, int index)
Parameters
GridViewSummaryRowInfo[]
array
The array. |
System.Int32
index
The index. |
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<GridViewSummaryRowInfo> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<GridViewSummaryRowInfo>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
IndexOf(GridViewSummaryRowInfo)
Returns the indexes of specific summary row.
Declaration
public int IndexOf(GridViewSummaryRowInfo value)
Parameters
GridViewSummaryRowInfo
value
The value. |
Returns
System.Int32
|
Implements
IndexOf(GridViewSummaryRowItem)
Returns the indexes of the specific summary item.
Declaration
public int IndexOf(GridViewSummaryRowItem summaryItem)
Parameters
GridViewSummaryRowItem
summaryItem
The summary item. |
Returns
System.Int32
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|
Implements
ITraversable.get_Item(Int32)
Declaration
object ITraversable.get_Item(int index)
Parameters
System.Int32
index
|
Returns
System.Object
|
Implements
ITraversable.Item[Int32]
Declaration
object ITraversable.this[] { get; }
Parameters
System.Int32
index
|
Returns
System.Object
|