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+
Row

ChartSheetCollection.Remove(ChartSheet) Method

Removes the specified chart sheet from the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Remove(
    ChartSheet chartSheet
)
Sub Remove(
    chartSheet As ChartSheet
)
void Remove(
    ChartSheet chartSheet
)
Sub Remove(
    chartSheet As ChartSheet
)

Parameters

Name Type Description
chartSheet ChartSheet

A ChartSheet object specifying a chart sheet to be removed from a workbook.

Parameters

Name Type Description
chartSheet ChartSheet

A ChartSheet object specifying a chart sheet to be removed from a workbook.

Remarks

The Remove method disposes of an element removed from the collection. To remove a chart sheet by its index in the collection, use the ChartSheetCollection.RemoveAt method. You can also hide a chart sheet using the ChartSheet.Visible or ChartSheet.VisibilityType property.

Note

A workbook must always contain at least one visible sheet.

To add a chart sheet to a workbook, use the ChartSheetCollection.Add or ChartSheetCollection.Insert method.

See Also