A newer version of this page is available. Switch to the current version.

ReadOnlyCells Class

Represents a read-only collection of data cells.

Namespace: DevExpress.XtraPivotGrid.Selection

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


public class ReadOnlyCells :
Public Class ReadOnlyCells
    Implements IEnumerable(Of Point),

Related API Members

The following members accept/return ReadOnlyCells objects:


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.


See Also