Skip to main content

ReadOnlyCells.Item[Int32] Property

Provides indexed access to the collection elements.

Namespace: DevExpress.XtraPivotGrid.Selection

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public Point this[int index] { get; }

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