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.v21.1.dll

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