Occurs after data was pasted from the clipboard onto a worksheet.
public event ClipboardDataPastedEventHandler ClipboardDataPasted
Public Event ClipboardDataPasted As ClipboardDataPastedEventHandler
The ClipboardDataPasted event's data class is ClipboardDataPastedEventArgs. The following properties provide information specific to this event:
|PictureId||Gets the ID value of the inserted picture.|
|PictureName||Gets the name of the inserted picture.|
|TargetRange||Gets the cell range into which the data has been pasted.|
Handle this event to perform any actions after data was pasted from the clipboard.
The ClipboardDataPasted event fires last in a sequence of three events that are raised when data is pasted from a cell's in-place editor or external application (e.g., Microsoft® Excel®). The SpreadsheetControl.ClipboardDataPasting event fires first before data is pasted into destination cells, the SpreadsheetControl.ClipboardDataObtained event fires next and allows you to modify the copied data, and finally, the ClipboardDataPasted event occurs. To cancel the paste operation, handle the SpreadsheetControl.ClipboardDataObtained event and set its Cancel parameter to true.