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.1.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. |
DiscardIntermediateColumnsAndRows | Columns and rows located between the selected cells (blocks of cells) are not copied to the clipboard. |
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.
The ClipboardCopyMultiSelectionMode property allows you to select one of the following modes.
CopyMultiSelectionMode.DiscardIntermediateColumnsAndRows
Columns and rows located between the selected cells (blocks of cells) are not copied to the clipboard.
CopyMultiSelectionMode.IncludeIntermediateColumnsAndRows
Columns and rows located between the selected cells (blocks of cells) are copied to the clipboard with their cells empty.