Back to Devexpress

DataViewBase.ClipboardMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-d2bf90b9.md

latest1.9 KB
Original Source

DataViewBase.ClipboardMode Property

Specifies whether the grid cell data should be copied together with the format settings. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ClipboardMode ClipboardMode { get; set; }
vb
Public Property ClipboardMode As ClipboardMode

Property Value

TypeDescription
ClipboardMode

A value that specifies whether to preserve the original format when users copy data.

|

Available values:

NameDescription
PlainText

Copied data is stored in clipboard as simple plain text.

| | Formatted |

Data is copied to the clipboard together with its format settings.

|

Remarks

Set the ClipboardMode property to ClipboardMode.Formatted to allow users to copy GridControl data with its conditional format settings.

For more information, refer to the following help topic: Copy Operations.

See Also

Clipboard

Conditional Formatting

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace