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

TcxCustomPivotGrid.CopyToClipboard(Boolean,Boolean,Boolean,Boolean) Method

Copies visible or selected data cells to the clipboard.

#Declaration

Delphi
procedure CopyToClipboard(ACopyAll: Boolean = False; AIncludeHeaders: Boolean = False; AIncludeAllRowHeaders: Boolean = True; AIncludeAllColumnHeaders: Boolean = True); virtual;

#Parameters

Name Type Description
ACopyAll Boolean

Optional. Specifies if the procedure copies all data cells to the clipboard:

False
Default. The procedure copies all data cells (except for collapsed grouping values) to the clipboard.
True
The procedure copies only selected data cells to the clipboard. This option corresponds to the end-user cell copy functionality.
AIncludeHeaders Boolean

Optional. Specifies if the procedure copies row/column field values.

AIncludeAllRowHeaders Boolean

Optional. True if the procedure copies all row header values; otherwise, False.

AIncludeAllColumnHeaders Boolean

Optional. True if the procedure copies all column header values; otherwise, False.

#Remarks

Call the CopyToClipboard procedure to copy all visible or selected cells to the clipboard.

#End-User Commands

Users can press the Ctrl+C or Ctrl+Insert key combination to copy the current cell selection to the clipboard.

See Also