DataGridClipboardCopyMode Enum

Summary

Defines modes that indicates how DataGrid content is copied to the Clipboard.
Namespace
Avalonia.Controls
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph TD Base0["Enum"]-->Type Base1["ValueType"]-->Base0 Base2["object"]-->Base1 Interface0["IComparable"]-.->Type Interface1["IFormattable"]-.->Type Interface2["IConvertible"]-.->Type Type["DataGridClipboardCopyMode"] class Type type-node

Syntax

public enum DataGridClipboardCopyMode

Fields

Name Constant Value Summary
ExcludeHeader 1
Enable the DataGrid's ability to copy selected items as text, but do not include the column header content as the first line in the text that gets copied to the Clipboard.
static
IncludeHeader 2
Enable the DataGrid's ability to copy selected items as text, and include the column header content as the first line in the text that gets copied to the Clipboard.
static
None 0
Disable the DataGrid's ability to copy selected items as text.
static