Xceed Toolkit Plus for WPF v4.6 Documentation
ClipboardExporters Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : ClipboardExporters Property
Gets a collection of clipboard exporters (see Remarks).
Syntax
'Declaration
 
Public ReadOnly Property ClipboardExporters As Dictionary(Of String,ClipboardExporterBase)
'Usage
 
Dim instance As DataGridControl

Dim value As Dictionary(Of String,ClipboardExporterBase)

 

value = instance.ClipboardExporters
public Dictionary<string,ClipboardExporterBase> ClipboardExporters {get;}
Remarks

By default, ClipboardExporters contains three ClipboardExporterBase objects. Two CsvClipboardExporter objects represent the comma-separated value format, "CSV," and the tab-separated value format, "Text," respectively. An HtmlClipboardExporter object is used to export the data in a table, using the following tags: <Table><TR><TD></TD></TR></Table>.

The copy command is bound to ApplicationCommands.Copy. After the copy command has been executed, the content is available in the clipboard in the formats present in the ClipboardExporters property at the time of the copy. Only the formatted data supported by a given application will be available when using Paste Special in the application. For example, after executing the copy command using the default clipboard exporters in ClipboardExporters, the content can be pasted into Excel (using Paste Special) using the CSV format, among others, while in Word, this format is not available. To prevent a copy from occurring, call the Clear method on ClipboardExporters.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridControl Class
DataGridControl Members

DataGrid Fundamentals

Clipboard Support