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

TdxSpreadSheetMergeCells Class

An action object that corresponds to the MergeCells command provided by the Spreadsheet and Report Designer controls.

#Declaration

Delphi
TdxSpreadSheetMergeCells = class(
    TdxSpreadSheetAction
)

#Remarks

This class does not introduce any new public members. Executing this action object merges all currently selected cell ranges into individual cells that occupy the same areas.

VCL SpreadSheet: A Merge Cells Operation Example

Technically, the TdxSpreadSheetMergeCells action objects call the MergeSelected procedure for the active Table View worksheet.

UI elements linked to a TdxSpreadSheetMergeCells action object are enabled only if the following conditions are met:

To split a merged cell, an end-user should select it and execute a TdxSpreadSheetUnmergeCells action object.

See Also