Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

SparklineCollection.GetSparkline(Cell) Method

Returns a Sparkline object located in the specified cell.

Namespace: DevExpress.Spreadsheet

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

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