Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetMergedCellList.Delete(TcxDoublyLinkedObject) Method

Removes the specified merged cell object from the current collection.

#Declaration

Delphi
procedure Delete(ALinkedObject: TcxDoublyLinkedObject); override;

#Parameters

Name Type
ALinkedObject TcxDoublyLinkedObject

#Remarks

Invoke this procedure to remove the merged cell object, passed as the ALinkedObject parameter, from the current collection. This action actually splits a merged cell back into individual cells from which it was created.

Each call of the Delete procedure reduces the Count property value by one.

To delete all merged cells simultaneously, call the Clear procedure instead. You can also call the DeleteItemsInArea procedure in order to delete all merged cells in a specified area.

Note

To add a new merged cell to the merged cell collection, invoke the Add procedure.

See Also