Skip to main content

TdxSpreadSheetTableView.CanDelete(TdxSpreadSheetCellsModification) Method

Identifies if users can delete cell data from the worksheet.

Declaration

function CanDelete(AModification: TdxSpreadSheetCellsModification): Boolean; overload; virtual;

Parameters

Name Type Description
AModification TdxSpreadSheetCellsModification

Enumerates options that define how cell insert and delete operations affect adjacent cells.

Returns

Type Description
Boolean

True if users can delete cell data; otherwise, False.

Remarks

The function returns True only if the following conditions are met:

Otherwise, the CanDelete function returns False.

Note

The CanDelete function only identifies if an ability to delete cell values is available. If you need to identify if users can delete both values and custom cell styles, call the CanClearCells function instead.

See Also