Class
RowGroupDescriptionCollection

Represents a collection that stores row group descriptors.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

cs-api-definition
public class RowGroupDescriptionCollection : IPivotFieldDescriptionCollection, IList, ICollection, IEnumerable

Inheritance: objectRowGroupDescriptionCollection

Implements: ICollectionIEnumerableIListIPivotFieldDescriptionCollection

Constructors

RowGroupDescriptionCollection(RadPivotGridElement)

Initializes a new instance of the RowGroupDescriptionCollection class.

Declaration

cs-api-definition
public RowGroupDescriptionCollection(RadPivotGridElement owner)

Parameters

owner

RadPivotGridElement

The owner.

Properties

Count

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

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

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

IsReadOnly

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

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

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

Owner

Gets the owner.

Declaration

cs-api-definition
public RadPivotGridElement Owner { get; }

Property Value

RadPivotGridElement

The owner.

Implements IPivotFieldDescriptionCollection.Owner

this[int]

Gets or sets the IGroupDescription at the specified index.

Declaration

cs-api-definition
public IGroupDescription this[int index] { get; set; }

Parameters

index

int

Property Value

IGroupDescription

Methods

Add(IGroupDescription)

Adds the specified item.

Declaration

cs-api-definition
public void Add(IGroupDescription item)

Parameters

item

IGroupDescription

The item.

Clear()

Removes all items from the ICollection<T>.

Declaration

cs-api-definition
public void Clear()

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Contains(IGroupDescription)

Determines whether the collection contains the specified item.

Declaration

cs-api-definition
public bool Contains(IGroupDescription item)

Parameters

item

IGroupDescription

The item.

Returns

bool

CopyTo(IGroupDescription[], int)

Copies to the array at the specified index.

Declaration

cs-api-definition
public void CopyTo(IGroupDescription[] array, int arrayIndex)

Parameters

array

IGroupDescription[]

The array.

arrayIndex

int

Index of the array.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
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

cs-api-definition
public int IndexOf(IGroupDescription item)

Parameters

item

IGroupDescription

The item.

Returns

int

Insert(int, IGroupDescription)

Inserts the specified index.

Declaration

cs-api-definition
public void Insert(int index, IGroupDescription item)

Parameters

index

int

The index.

item

IGroupDescription

The item.

Remove(IGroupDescription)

Removes the specified item.

Declaration

cs-api-definition
public bool Remove(IGroupDescription item)

Parameters

item

IGroupDescription

The item.

Returns

bool

RemoveAt(int)

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

Declaration

cs-api-definition
public void RemoveAt(int index)

Parameters

index

int

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.