Gets or sets the value indicating whether to prevent pasting a row values.
public bool Cancel { get; set; }
Public Property Cancel As Boolean
Use the Cancel property to prevent pasting a row from clipboard. To modify the pasted row, use the CellValues property.
Refer to the Paste Operations topic to learn more.