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

ChartSheet.Index Property

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

Namespace: DevExpress.Spreadsheet

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

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