Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
485
Copy - Control C
posted

Hi,

This might be trivial, but for some reason I can't fake the "Control C" keydown of a user. I am merely trying to make a function to do use the built in Copy function of ultragrid, so I thought by calling

KeyDown(

this, new KeyEventArgs(Keys.LButton | Keys.ShiftKey)); -- control key

then followed by

KeyDown(

this, new KeyEventArgs(Keys.C)); would be the easiest solution...

I just want to use the built in Copy function, please advise

Parents
  • 20872
    Offline posted

    Hello,

    May be you are looking for the following property of the UltraGrid that will allow you to use Control+C to copy data from it:

    ultraGrid1.DisplayLayout.Override.AllowMultiCellOperations = Infragistics.Win.UltraWinGrid.AllowMultiCellOperation.Copy; 

    Sincerely,

    Danko Valkov

    Developer Support Engineer

    Infragistics, Inc.

     

Reply Children