PivotGridOptionsBehaviorBase.ClipboardCopyMultiSelectionMode Property

Gets or sets how to copy cells to the Clipboard when multiple cells are selected.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

Declaration

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

Property Value

Type Default Description
CopyMultiSelectionMode

DiscardIntermediateColumnsAndRows

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ClipboardCopyMultiSelectionMode
WinForms Controls PivotGridControl
.OptionsBehavior.ClipboardCopyMultiSelectionMode
Reporting XRPivotGrid
.OptionsBehavior.ClipboardCopyMultiSelectionMode
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsBehavior.ClipboardCopyMultiSelectionMode
PivotGridSettings
.OptionsBehavior.ClipboardCopyMultiSelectionMode
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsBehavior.ClipboardCopyMultiSelectionMode

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