SparklineCollection.GetSparklines(CellRange) Method
In This Article
Returns sparklines located in the specified cell range.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
range | Cell |
A Cell |
#Returns
Type | Description |
---|---|
IList<Sparkline> | A IList |
#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