ReadOnlyCells.Item[Int32] Property

Provides indexed access to the collection elements.

Namespace: DevExpress.XtraPivotGrid.Selection

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

Declaration

public Point this[int index] { get; }
Public ReadOnly Property Item(index As Integer) As Point

Parameters

Name Type Description
index Int32

An integer value that specifies the zero-based index of the required cell. If it is negative or exceeds the last available index, an exception is raised.

Property Value

Type Description
Point

A Point structure that represents the coordinates of the cell with the specified index.

Remarks

Use the ReadOnlyCells.Count property to obtain the total number of cells in the collection.

You can also access the collection elements via an enumerator obtained using the ReadOnlyCells.GetEnumerator method.

See Also