Export (0) Print
Expand All

DataGrid.ClipboardCopyMode Property

Gets or sets a value that indicates how data is copied to the clipboard.

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

public DataGridClipboardCopyMode ClipboardCopyMode { get; set; }
<sdk:DataGrid ClipboardCopyMode="clipboardCopyModeValue"/>

XAML Values

clipboardCopyModeValue

A named constant of the DataGridClipboardCopyMode enumeration, such as IncludeHeader.

Property Value

Type: System.Windows.Controls.DataGridClipboardCopyMode
A value that indicates how data is copied to the clipboard.

Use this property to specify whether a user can copy DataGrid content to the clipboard. If copying is allowed, this property can specify whether the clipboard copy will include column headers.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft