All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TreeViewControl.ClipboardCopyOptions Property

Gets or sets with which formats (RTF, HTML, Biff8(xls), CSV, Text, UnicodeText) the data copied from the TreeViewControl should be compatible. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

Declaration

public ClipboardCopyOptions ClipboardCopyOptions { get; set; }
Public Property ClipboardCopyOptions As ClipboardCopyOptions

Property Value

Type Description
ClipboardCopyOptions

A value that specifies with which formats (RTF, HTML, Biff8(xls), CSV, Text, UnicodeText) the copied data should be compatible.

Available values:

Name Description
None

Data is copied to the clipboard as a simple plain text.

Csv

Data is copied to the clipboard compatible with the Csv format.

Excel

Data is copied to the clipboard compatible with the Excel format (XLS/XLSX).

Html

Data is copied to the clipboard compatible with the Html format.

Rtf

Data is copied to the clipboard compatible with the Rtf format

Txt

Data is copied to the clipboard compatible with the TXT format

All

Data is copied to the clipboard, compatible with the RTF, HTML, XLS (Biff8), CSV, UnicodeText and Text formats.

Remarks

The ClipboardCopyOptions property works only when the ClipboardMode property is set to Formatted.

In the following code sample, the data is compatible with the Excel and Csv formats only:

<dxg:TreeViewControl ClipboardCopyOptions="Excel, Csv"
                     ClipboardMode="Formatted"
                     ... />

For information on how to copy TreeViewControl data to the clipboard, refer to the following DevExpress WPF Grid help topic: Clipboard Management.

See Also