Kopieren und Einfügen von Zeilen in GridDesktop innerhalb des Steuerelements und zwischen dem Steuerelement und Excel

Festlegen der GridDesktop.ClipboardCopyPaste-Eigenschaft im Entwurfsmodus und zur Laufzeit

Der folgende Beispielcode legt die GridDesktop.ClipboardCopyPaste-Eigenschaft festLaufzeit.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
/*
* Indicates whether to copy/paste based on clipboard, so that it can copy/paste with MS-EXCEL.
* It will only copy/paste cell value and will not copy any other setting of the cell like format, border style and so on.
* The default value is false.
*/
gridDesktop1.EnableClipboardCopyPaste = true;