Skip to main content

ReadOnlyCells.GetEnumerator() Method

Returns an enumerator that iterates through the ReadOnlyCells collection.

Namespace: DevExpress.XtraPivotGrid.Selection

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

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

Declaration

public IEnumerator<Point> GetEnumerator()

Returns

Type Description
IEnumerator<Point>

An object that implements the System.Collections.Generic.IEnumerator<Point> interface and represents an enumerator used to iterate through the collection.

Remarks

Enumerators only allow the data in the collection to be read. Enumerators cannot be used to modify the underlying collection.

You can also access elements of the collection using the indexed notation. To obtain the total number of elements, use the ReadOnlyCells.Count property.

See Also