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.GetSparkline(Cell) Method

Returns a Sparkline object located in the specified cell.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

Sparkline GetSparkline(
    Cell cell
)

#Parameters

Name Type Description
cell Cell

A Cell object specifying a cell that contains a sparkline to be returned.

#Returns

Type Description
Sparkline

A Sparkline object that is a sparkline residing in the specified cell.

Null (Nothing in VB), if the cell contains no sparkline or the sparkline in this cell doesn’t belong to the SparklineCollection that this method is called from.

#Remarks

Use the SparklineCollection.GetSparklines method to obtain a list of sparklines belonging to the given collection and located in the specified cell range.

See Also