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

ChartSheet.Index Property

Gets the chart sheet index within the workbook’s ChartSheetCollection collection.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

int Index { get; }

#Property Value

Type Description
Int32

An integer value specifying a zero-based index of the chart sheet.

#Remarks

The Index property allows you to return the position of the chart sheet within the workbook’s collection of chart sheets (IWorkbook.ChartSheets). To obtain the chart sheet’s position within the entire document, use the SheetCollection.IndexOf method of the workbook’s collection of sheets.

Use the ChartSheet.Move method to move a chart sheet to another location within the chart sheet collection. You can also rearrange chart sheets within a workbook by using methods inherited from the Sheet interface: Sheet.MoveToBeginning, Sheet.MoveBefore, Sheet.MoveAfter, or Sheet.MoveToEnd.

See Also