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)

public enum 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft