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

TdxSpreadSheetCutSelection Class

An action object that implements the CutSelection command in spreadsheet-based applications.

#Declaration

Delphi
TdxSpreadSheetCutSelection = class(
    TdxSpreadSheetAction
)

#Remarks

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

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

  • Spreadsheet document editing is allowed (i.e., the control’s OptionsBehavior.Editing property is set to True).
  • The cut to clipboard operation is allowed in the active worksheet (its CanCutToClipboard function returns True) or an in-place cell editor is active (i.e., the active worksheet’s IsEditing property returns True).

Note

CopySelection and PasteSelection commands are implemented as TdxSpreadSheetCopySelection and TdxSpreadSheetPasteSelection action objects.

See Also