Back to Devexpress

SparklineCollection.GetSparkline(Cell) Method

officefileapi-devexpress-dot-spreadsheet-dot-sparklinecollection-dot-getsparkline-x28-devexpress-dot-spreadsheet-dot-cell-x29.md

latest2.2 KB
Original Source

SparklineCollection.GetSparkline(Cell) Method

Returns a Sparkline object located in the specified cell.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
Sparkline GetSparkline(
    Cell cell
)
vb
Function GetSparkline(
    cell As Cell
) As Sparkline

Parameters

NameTypeDescription
cellCell

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

|

Returns

TypeDescription
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

GetSparklines(CellRange)

SparklineCollection Interface

SparklineCollection Members

DevExpress.Spreadsheet Namespace