Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataGridClipboardCopyMode Enumeration

Defines constants that specify whether users can copy data from a DataGrid control to the Clipboard and whether column header values are included.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public enum class DataGridClipboardCopyMode
<object property="enumerationMemberName" .../>

Member nameDescription
ExcludeHeaderUsers can copy the text values of selected cells to the Clipboard, and column header values are not included.
IncludeHeaderUsers can copy the text values of selected cells to the Clipboard, and column header values are included.
NoneClipboard support is disabled.

This enumeration is used by the DataGrid::ClipboardCopyMode property.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft