다음을 통해 공유


DataGridClipboardCopyMode Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies whether content can be copied to the clipboard from a DataGrid control. If the content can be copied, specifies whether column headers are copied.

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

Syntax

'Declaration
Public Enumeration DataGridClipboardCopyMode
public enum DataGridClipboardCopyMode
<object property = "enumMemberName"/>

Members

Member name Description
None Indicates that content cannot be copied to the clipboard from the DataGrid control.
ExcludeHeader Indicates that content can be copied from a DataGrid to the clipboard, but does not copy column headers.
IncludeHeader Indicates that content can be copied from a DataGrid to the clipboard and copies column headers as the first line of text.

Remarks

Use this enumeration with the DataGrid.ClipboardCopyMode property to specify how content is copied from to the clipboard from a DataGrid control.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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