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

Sparkline.SetPosition(Int32, Int32) Method

Moves a sparkline to a new location.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

void SetPosition(
    int columnIndex,
    int rowIndex
)

#Parameters

Name Type Description
columnIndex Int32

An integer that is the zero-based index of the row to which the sparkline should be moved.

rowIndex Int32

An integer that is the zero-based index of the column to which the sparkline should be moved.

#Remarks

To get the current location of the required sparkline in a worksheet, use the Sparkline.Position property.

See Also