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
this, new KeyEventArgs(Keys.C)); would be the easiest solution...
I just want to use the built in Copy function, please advise
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.
Not really, I am trying to duplicate that "Control + C" pressing as a tool. Like a button that a user would like to click to Copy.