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

TdxSpreadSheetCopySelection Class

An action object that implements the CopySelection end-user command in Spreadsheet and Report Designer-based applications.

#Declaration

Delphi
TdxSpreadSheetCopySelection = class(
    TdxSpreadSheetAction
)

#Remarks

This class does not introduce any new public members. If an in-place editor is active, executing a TdxSpreadSheetCopySelection action object copies its content selection to the clipboard. Otherwise, the current cell/cell range selection within the active Table View worksheet is copied to the clipboard.

If a cell range is selected, a TdxSpreadSheetCopySelection action object calls the active Table View worksheet’s CopyToClipboard procedure for the current selection.

UI elements linked to a TdxSpreadSheetCopySelection action object are enabled only if one of the following conditions is met:

Note

CutSelection and PasteSelection commands are implemented as TdxSpreadSheetCutSelection and TdxSpreadSheetPasteSelection objects.

See Also