TdxSpreadSheetMergedCellList.Delete(TcxDoublyLinkedObject) Method
Removes the specified merged cell object from the current collection.
Declaration
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