ReadOnlyCells Class
Represents a read-only collection of data cells.
Namespace: DevExpress.XtraPivotGrid.Selection
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
Related API Members
The following members return ReadOnlyCells objects:
Remarks
Cell collections represented by the ReadOnlyCells class instances are used to define the selected areas of cells. A ReadOnlyCells collection contains the Point structures that define the coordinates of selected cells. The ReadOnlyCells class provides methods that can be used to access individual elements and perform other common collection management tasks.
You can access elements of the collection using the indexed notation, or via an enumerator returned by the ReadOnlyCells.GetEnumerator method. Use the ReadOnlyCells.Count property to obtain the number of elements in the collection. To define whether the collection is empty, use the ReadOnlyCells.IsEmpty property.
Use the ReadOnlyCells.Rectangle property to get the coordinates of the rectangle that bounds the cells contained within the collection.