SpreadsheetControl.ClipboardDataPasting Event

Occurs before data is pasted into destination cells.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v20.1.dll

Declaration

public event ClipboardDataPastingEventHandler ClipboardDataPasting
Public Event ClipboardDataPasting As ClipboardDataPastingEventHandler

Event Data

The ClipboardDataPasting event's data class is EventArgs.

Remarks

This event fires as a notification that the data is about to be pasted into target cells. It occurs first in a sequence of events the Spreadsheet control raises when data is pasted from a cell's in-place editor or external application (e.g., Microsoft® Excel®). It fires before the SpreadsheetControl.ClipboardDataObtained and SpreadsheetControl.ClipboardDataPasted events. To cancel the paste operation, handle the SpreadsheetControl.ClipboardDataObtained event and set its Cancel parameter to true.

See Also