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 BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] 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

Extension Methods