vcl-dxspreadsheetactions-04cb0e48.md
An action object that corresponds to the PasteSelection command provided by the Spreadsheet and Report Designer controls.
TdxSpreadSheetPasteSelection = class(
TdxSpreadSheetAction
)
This class does not introduce any new public members. Executing a TdxSpreadSheetPasteSelection action leads to different results depending on the current selection within the active Table View worksheet and the clipboard state:
TdxSpreadSheetPasteSelection action object pastes the clipoard content into the active worksheet. You can use this action object to paste a cell range into the multiple identical selections whose dimensions match those of the cell range within the clipboard. Otherwise, a EdxSpreadSheetError is raised.UI elements linked to a TdxSpreadSheetPasteSelection action object are enabled only if one of the following conditions is met:
True).True).Note
CopySelection and CutSelection commands are implemented as TdxSpreadSheetCopySelection and TdxSpreadSheetCutSelection objects.
Show 11 items
TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxSpreadSheetAction TdxSpreadSheetPasteSelection
See Also
TdxSpreadSheetTableView.PasteFromClipboard Procedure