ClassRowGroupDescriptionCollection
Represents a collection that stores row group descriptors.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
public class RowGroupDescriptionCollection : IPivotFieldDescriptionCollection, IList, ICollection, IEnumerable
Inheritance: objectRowGroupDescriptionCollection
Implements:
Constructors
RowGroupDescriptionCollection(RadPivotGridElement)
Initializes a new instance of the RowGroupDescriptionCollection class.
Declaration
public RowGroupDescriptionCollection(RadPivotGridElement owner)
Parameters
owner
The owner.
Properties
Count
Gets the number of elements contained in the ICollection<T>.
Declaration
public int Count { get; }
Property Value
The number of elements contained in the ICollection<T>.
IsReadOnly
Gets a value indicating whether the ICollection<T> is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
true if the ICollection<T> is read-only; otherwise, false.
Owner
Gets the owner.
Declaration
public RadPivotGridElement Owner { get; }
Property Value
The owner.
Implements
this[int]
Gets or sets the IGroupDescription at the specified index.
Declaration
public IGroupDescription this[int index] { get; set; }
Parameters
index
Property Value
Methods
Add(IGroupDescription)
Adds the specified item.
Declaration
public void Add(IGroupDescription item)
Parameters
item
The item.
Clear()
Removes all items from the ICollection<T>.
Declaration
public void Clear()
Exceptions
The ICollection<T> is read-only.
Contains(IGroupDescription)
Determines whether the collection contains the specified item.
Declaration
public bool Contains(IGroupDescription item)
Parameters
item
The item.
Returns
CopyTo(IGroupDescription[], int)
Copies to the array at the specified index.
Declaration
public void CopyTo(IGroupDescription[] array, int arrayIndex)
Parameters
array
The array.
arrayIndex
Index of the array.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<IGroupDescription> GetEnumerator()
Returns
IEnumerator<IGroupDescription>
A IEnumerator<T> that can be used to iterate through the collection.
IndexOf(IGroupDescription)
Gets the index of the item.
Declaration
public int IndexOf(IGroupDescription item)
Parameters
item
The item.
Returns
Insert(int, IGroupDescription)
Inserts the specified index.
Declaration
public void Insert(int index, IGroupDescription item)
Parameters
index
The index.
item
The item.
Remove(IGroupDescription)
Removes the specified item.
Declaration
public bool Remove(IGroupDescription item)
Parameters
item
The item.
Returns
RemoveAt(int)
Removes the IList<T> item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
index
The zero-based index of the item to remove.
Exceptions
index is not a valid index in the IList<T>.
The IList<T> is read-only.