The AllowCopyPasteEnum defines a set of flags that control which clipboard operations (Copy, Cut, Paste) are allowed within a component. This enum supports bitwise combinations, so multiple operations can be enabled simultaneously.
The
AllowCopyPaste property controls whether the control will automatically respond to clipboard
operations. The AllowCopyPasteEnum type defines the following values:
| | Name | Value | Description | |
| |
exNoCopyPaste | 0
|
Disables all copy, cut, and paste operations
| |
| |
exAllowCopy | 1
|
Enables the "Copy" operation (e.g., Ctrl+C or context menu "Copy"). Allows copying selected content to the clipboard.
| |
| |
exAllowCut | 2
|
Enables the "Cut" operation (e.g., Ctrl+X). Allows removing selected content and placing it on the clipboard.
| |
| |
exAllowPasteText | 4
|
Enables pasting text content from the clipboard (e.g., Ctrl+V with plain text)
| |
| |
exAllowPasteImage | 8
|
Enables pasting image content from the clipboard (e.g., inserting a bitmap or other graphical content)
| |