SpreadsheetControl.ClipboardDataPasted Event

Occurs after data was pasted from the clipboard onto a worksheet.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v20.1.dll

Declaration

public event ClipboardDataPastedEventHandler ClipboardDataPasted
Public Event ClipboardDataPasted As ClipboardDataPastedEventHandler

Event Data

The ClipboardDataPasted event's data class is ClipboardDataPastedEventArgs. The following properties provide information specific to this event:

Property Description
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.

Remarks

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.

Implements

See Also