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

Represents a collection that stores row group descriptors.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public class RowGroupDescriptionCollection : IPivotFieldDescriptionCollection, IList, ICollection, IEnumerable

Inheritance: objectRowGroupDescriptionCollection

Implements: ICollectionIEnumerableIListIPivotFieldDescriptionCollection

Constructors

Initializes a new instance of the RowGroupDescriptionCollection class.

C#
public RowGroupDescriptionCollection(RadPivotGridElement owner)
Parameters:ownerRadPivotGridElement

The owner.

Properties

Gets the number of elements contained in the ICollection<T>.

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

The number of elements contained in the ICollection<T>.

Gets a value indicating whether the ICollection<T> is read-only.

C#
public bool IsReadOnly { get; }
Property Value:

true if the ICollection<T> is read-only; otherwise, false.

Gets the owner.

C#
public RadPivotGridElement Owner { get; }
Property Value:

The owner.

Implements: IPivotFieldDescriptionCollection.Owner

Gets or sets the IGroupDescription at the specified index.

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

Methods

Adds the specified item.

C#
public void Add(IGroupDescription item)
Parameters:itemIGroupDescription

The item.

Removes all items from the ICollection<T>.

C#
public void Clear()
Exceptions:

NotSupportedException

The ICollection<T> is read-only.

Determines whether the collection contains the specified item.

C#
public bool Contains(IGroupDescription item)
Parameters:itemIGroupDescription

The item.

Returns:

bool

Copies to the array at the specified index.

C#
public void CopyTo(IGroupDescription[] array, int arrayIndex)
Parameters:arrayIGroupDescription[]

The array.

arrayIndexint

Index of the array.

Returns an enumerator that iterates through the collection.

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

IEnumerator<IGroupDescription>

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

Gets the index of the item.

C#
public int IndexOf(IGroupDescription item)
Parameters:itemIGroupDescription

The item.

Returns:

int

Inserts the specified index.

C#
public void Insert(int index, IGroupDescription item)
Parameters:indexint

The index.

itemIGroupDescription

The item.

Removes the specified item.

C#
public bool Remove(IGroupDescription item)
Parameters:itemIGroupDescription

The item.

Returns:

bool

Removes the IList<T> item at the specified index.

C#
public void RemoveAt(int index)
Parameters:indexint

The zero-based index of the item to remove.

Exceptions:

ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The IList<T> is read-only.