DataGridClipboardCopyMode Enumeration

Defines modes that indicates how DataGrid content is copied to the Clipboard.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll) Version: 11.3.999
C#
public enum DataGridClipboardCopyMode

Members

None0 Disable the DataGrid's ability to copy selected items as text.
ExcludeHeader1 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.
IncludeHeader2 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.

See Also