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

PivotGridControl.ClipboardCopyMultiSelectionMode Property

Gets or sets how to copy cells to the clipboard when multiple cells are selected. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

[Browsable(false)]
public CopyMultiSelectionMode ClipboardCopyMultiSelectionMode { get; set; }

#Property Value

Type Description
CopyMultiSelectionMode

A CopyMultiSelectionMode enumeration value that specifies how to copy cells to the clipboard when multiple cells are selected.

Available values:

Name Description
IncludeIntermediateColumnsAndRows

Columns and rows located between the selected cells (blocks of cells) are copied to the clipboard with their cells empty.

Clipboard_Multiselection_Include

DiscardIntermediateColumnsAndRows

Columns and rows located between the selected cells (blocks of cells) are not copied to the clipboard.

Clipboard_Multiselection_Discard

#Remarks

PivotGridControl allows end-users to copy contents of the selected cells to the clipboard by pressing CTRL+C or CTRL+INS. End-users are allowed to select multiple cells by clicking them while holding down the CTRL key.

The ClipboardCopyMultiSelectionMode property allows you to specify whether to reserve space for columns and rows located between the selected cells in a snapshot copied to the clipboard.

For instance, consider the following pivot grid.

Clipboard_Multiselection

The ClipboardCopyMultiSelectionMode property allows you to select one of the following modes.

See Also