Skip to main content

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)

public enum DataGridClipboardCopyMode

Members

None0Disable the DataGrid's ability to copy selected items as text.
ExcludeHeader1Enable 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.
IncludeHeader2Enable 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

Reference

Avalonia.Controls Namespace