DataGridClipboardCopyMode Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: