'宣言 Public Property AutoClipboard As System.Boolean
public System.bool AutoClipboard {get; set;}
'宣言 Public Property AutoClipboard As System.Boolean
public System.bool AutoClipboard {get; set;}
Setting this property to true causes the grid to monitor the keyboard for the following clipboard keys:
Copy: CTRL-INS, CTRL-C
Cut: CTRL-X, SHIFT-DEL
Paste: CTRL-V, SHIFT-INS
Delete: DEL
Cut, paste, and delete actions are performed only if the AllowEditing property is set to true.
If you want to handle only a subset of the supported keys, add a handler to the System.Windows.Forms.Control.KeyDown event and set the Handled parameter to true to disable some of the keys.
Automatic clipboard operations only affect the grid data. Styles and images are not copied, pasted, or deleted.
Values copied to the clipboard are affected by the setting of the ClipboardCopyMode property.