corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsbehaviorbase-cfba06db.md
Gets or sets whether field values are copied to the Clipboard when CTRL+C is pressed or the PivotGridCells.CopySelectionToClipboard method is called.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[DefaultValue(false)]
public bool CopyToClipboardWithFieldValues { get; set; }
<DefaultValue(False)>
Public Property CopyToClipboardWithFieldValues As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if field values are copied to the Clipboard when CTRL+C is pressed or the PivotGridCells.CopySelectionToClipboard method is called; otherwise, false.
|
Data displayed within selected cells can be copied to the Clipboard. End-users can only copy the text displayed within selected cells using CTRL+C or CTRL+INS. If the CopyToClipboardWithFieldValues property is set to true , cell values are copied to the Clipboard along with corresponding field values.
Use the PivotGridOptionsBehaviorBase.ClipboardCopyCollapsedValuesMode property to specify how to copy collapsed field values.
See Also
ClipboardCopyCollapsedValuesMode
ClipboardCopyMultiSelectionMode
PivotGridOptionsBehaviorBase Class