[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridBase.AutoClipboard

AutoClipboard Property

AutoClipboard

Gets or sets whether the grid should handle the clipboard keys and automatically perform cut, copy, paste, and delete operations.

Declaration
public bool AutoClipboard { get; set; }
Remarks

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 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.