Occurs before data is pasted from the clipboard.
Public Event BeforePaste As BeforePasteEventHandler
Grid Object
The following parameters are available:
Parameter | Description |
Text | Pasted data. |
Row | The first row index where the pasted data will be inserted. |
Col | The first column index where the pasted data will be inserted. |
Rows | The total number of rows of pasted data. |
Cols | The total number of columns of pasted data. |
Cancel | Indicates whether the paste operation is canceled. |
IgnoreFormat | Indicates whether the pasted data is ignored the formatting. |