The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ChartSheet.Move(Int32) Method

Moves the chart sheet to another location within the workbook's collection of chart sheets.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Move(
    int position
)
Sub Move(
    position As Integer
)
void Move(
    int position
)
Sub Move(
    position As Integer
)
void Move(
    int position
)
Sub Move(
    position As Integer
)

Parameters

Name Type Description
position Int32

An integer value specifying the zero-based destination index of the moved chart sheet. If this value is negative or exceeds the number of items within the collection, an exception occurs.

Parameters

Name Type Description
position Int32

An integer value specifying the zero-based destination index of the moved chart sheet. If this value is negative or exceeds the number of items within the collection, an exception occurs.

Parameters

Name Type Description
position Int32

An integer value specifying the zero-based destination index of the moved chart sheet. If this value is negative or exceeds the number of items within the collection, an exception occurs.

Remarks

Use the Move method to relocate chart sheets within the IWorkbook.ChartSheets collection. To obtain the actual index of the chart sheet, use the ChartSheet.Index property.

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