BeforePaste Event

Occurs before data is pasted from the clipboard.

Syntax

Public Event BeforePaste As BeforePasteEventHandler

Applies To

Grid Object

Parameters

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.