Back to Devexpress

TdxSpreadSheetCopySelection Class

vcl-dxspreadsheetactions-c816796a.md

latest3.0 KB
Original Source

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.

Inheritance

Show 11 items

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxSpreadSheetAction TdxSpreadSheetCopySelection

See Also

TdxSpreadSheetCopySelection Members

dxSpreadSheetActions Unit