Windows apps
Collapse the table of content
Expand the table of content
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 Enumeration DataGridClipboardCopyMode

Member nameDescription
ExcludeHeader

Users can copy the text values of selected cells to the Clipboard, and column header values are not included.

IncludeHeader

Users can copy the text values of selected cells to the Clipboard, and column header values are included.

None

Clipboard support is disabled.

This enumeration is used by the DataGrid.ClipboardCopyMode property.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show:
© 2016 Microsoft