WinForms & WPF Grid and TreeList Control - Enhanced Clipboard Operations (Coming soon in v15.2)

Thinking Out Loud
11 November 2015

Over the years, a number of you have asked us to improve the manner in which we copy Grid and TreeList data - specifically, to maintain formatting so that data pasted into third-party programs will retain the formatting displayed within your app. With v15.2 and the introduction of Formatted Copy mode, you'll now retain full formatting whenever Grid and TreeList data is copied to the clipboard.

This new option simultaneously copies data to the clipboard  in XLS (Biff8), RTF, HTML, CSV and plain text (ANSI and Unicode) formats. As you'd expect, once pasted, the destination application will use the appropriate format.

WinForms and WPF DataGrid - TreeList Clipboard Operations


Formatted Data mode will retain the following whenever data is copied to the clipboard:

  • Appearance settings applied to the control and its individual columns.
  • Appearance settings customized using dedicated events (custom draw events are not supported).
  • Excel-style cell conditional formatting.


Both our WinForms/WPF Data Grid and Tree List controls include dedicated properties to customize clipboard operations. Copying data in plain text is enabled by default (to avoid breaking changes).  You can enable Formatted Data copy mode using the ClipboardMode option.

At present, the Data Grid only supports formatted data copy operations for standard Grid Views. We'll support other Views in future updates.

=========================

We'd love to hear your thoughts on this new feature. Let us know what you think.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.