Back to Devexpress

TdxCustomSpreadSheet.ClearAll Method

vcl-dxspreadsheetcore-dot-tdxcustomspreadsheet-689c28da.md

latest1.0 KB
Original Source

TdxCustomSpreadSheet.ClearAll Method

Deletes all worksheets in the opened spreadsheet document.

Declaration

delphi
procedure ClearAll;

Remarks

Call this procedure to delete all worksheets simultaneously. To delete an individual worksheet, call its destructor.

A user can click the “Delete” item in the caption bar‘s context menu or execute the DeleteSheet command to delete the active sheet if at least two sheets are visible. Spreadsheet controls provide no commands or built-in UI elements that allow users to remove all sheets from the document.

See Also

TdxCustomSpreadSheet Class

TdxCustomSpreadSheet Members

dxSpreadSheetCore Unit