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.
Manuel Grundner [DevExpress MVP]
Manuel Grundner

Awesome!

11 November 2015
Christopher Todd
Christopher Todd

Pretty awesome!

11 November 2015
frank vdb
frank vdb

Sweet!

In case of CSV will values be repeated?

Like:

Western Europe;Austria;...

Western Europe;Belgium;...

12 November 2015
Bassam Abdelaal
Bassam Abdelaal

Super !

12 November 2015
Jim Foye
Jim Foye

This sounds great.

>> Copying data in plain text is enabled by default (to avoid breaking changes).

It should be the default, regardless :)

12 November 2015
mayer schmukler
mayer schmukler

great stuff

12 November 2015
Andrey Andreev 2
Andrey Andreev 2

Sounds great!

What's about copying from Pivot Grid?

10 December 2015
ari laksono
ari laksono

Devexpress is Number ONE... But everybody love Excel

So why no body to build ERP WYSIWYG like http://www.mysap3.com

14 April 2016

Please login or register to post comments.