Back to Devexpress

PivotGridOptionsBehaviorBase.CopyToClipboardWithFieldValues Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsbehaviorbase-cfba06db.md

latest2.7 KB
Original Source

PivotGridOptionsBehaviorBase.CopyToClipboardWithFieldValues Property

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

Declaration

csharp
[DefaultValue(false)]
public bool CopyToClipboardWithFieldValues { get; set; }
vb
<DefaultValue(False)>
Public Property CopyToClipboardWithFieldValues As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if field values are copied to the Clipboard when CTRL+C is pressed or the PivotGridCells.CopySelectionToClipboard method is called; otherwise, false.

|

Remarks

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

PivotGridOptionsBehaviorBase Members

DevExpress.XtraPivotGrid Namespace