DataGridClipboardCopyMode 枚举

定义

定义一些常量,这些常量指定用户能否将数据从 DataGrid 控件复制到剪贴板以及是否包括列标题值。Defines constants that specify whether users can copy data from a DataGrid control to the Clipboard and whether column header values are included.

public enum class DataGridClipboardCopyMode
public enum DataGridClipboardCopyMode
type DataGridClipboardCopyMode = 
Public Enum DataGridClipboardCopyMode
继承
DataGridClipboardCopyMode

字段

ExcludeHeader 1

用户可以将所选单元格的文本值复制到剪贴板,并且不包括列标题值。Users can copy the text values of selected cells to the Clipboard, and column header values are not included.

IncludeHeader 2

用户可以将所选单元格的文本值复制到剪贴板,并且包括列标题值。Users can copy the text values of selected cells to the Clipboard, and column header values are included.

None 0

禁用剪贴板支持。Clipboard support is disabled.

注解

此枚举由DataGrid.ClipboardCopyMode属性使用。This enumeration is used by the DataGrid.ClipboardCopyMode property.

适用于

另请参阅