Skip to main content
All docs
V19.1
.NET Framework 4.5.2+
Row

SparklineCollection.GetSparklines(Range) Method

Returns sparklines located in the specified cell range.

Namespace: DevExpress.Spreadsheet

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

Declaration

IList<Sparkline> GetSparklines(
    Range range
)

Parameters

Name Type Description
range Range

A Range 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 Range 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