We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

copy a cell with formatting

Thread ID:





57052 Feb 24,2007 04:11 PM UTC Feb 26,2007 05:22 PM UTC WinForms 1
Tags: GridControl
Christian Staffe
Asked On February 24, 2007 04:11 PM UTC

How to copy a complete cell wih its formatting ? Here is my use case: Let's suppose I have a dropdown in row 3, col 4. I need to insert a line in row 3 -> my dropdown will move down 1 row but I would like to move it again to row 3 where it was before the line insertion. What's the "right" way to do this ?

Administrator [Syncfusion]
Replied On February 26, 2007 05:22 PM UTC

Hi Christian,

You can turn on the Styles flag in the ClipboardFlags property.

this.gridControl1.Model.CutPaste.ClipboardFlags = GridDragDropFlags.Styles;

and use the below code snippet to copy and insert the simillar row at 3rd position.


Sample : GC_AutoSize.zip

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon