Skip to main content

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.v24.2.Core.dll

Declaration

[DefaultValue(false)]
public bool CopyToClipboardWithFieldValues { get; set; }

Property Value

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.

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