Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SparklineCollection.GetSparklines(CellRange) Method

Returns sparklines located in the specified cell range.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

IList<Sparkline> GetSparklines(
    CellRange range
)

#Parameters

Name Type Description
range CellRange

A CellRange object containing the sparklines to be returned.

#Returns

Type Description
IList<Sparkline>

A IList<T><Sparkline,> collection of sparklines residing in the specified cell range.

#Remarks

Use the GetSparklines method to obtain a collection of sparklines which belong to the given SparklineCollection and occupy the specified cell range. The GetSparklines 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 same worksheet as the current SparklineCollection collection.
  • If the specified cell range doesn’t contain any sparklines belonging to the SparklineCollection collection that this method is called from.
See Also