Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

'Declaration
Public Enumeration 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