Skip to main content
All docs
V25.1
  • Row

    SparklineGroupCollection.GetSparklineGroups(CellRange) Method

    Returns the sparkline groups located in the specified cell range.

    Namespace: DevExpress.Spreadsheet

    Assembly: DevExpress.Spreadsheet.v25.1.Core.dll

    NuGet Package: DevExpress.Spreadsheet.Core

    Declaration

    IList<SparklineGroup> GetSparklineGroups(
        CellRange range
    )

    Parameters

    Name Type Description
    range CellRange

    A CellRange object specifying a cell range occupied by the sparkline groups to be returned.

    Returns

    Type Description
    IList<SparklineGroup>

    A IList<T><SparklineGroup,> collection of sparkline groups occupying the specified cell range.

    Remarks

    Use the GetSparklineGroups method to obtain a collection of sparkline groups which occupy the specified cell range. The GetSparklineGroups method returns an empty list in the following cases:

    • If the range parameter of the method is null.
    • If the CellRange object specified by the range parameter doesn’t belong to the worksheet owning the current SparklineGroupCollection collection.
    • If the specified cell range doesn’t contain any sparklines.
    See Also