SpreadsheetControl.ClipboardDataPasting Event
Occurs before data is pasted into destination cells.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.1.dll
NuGet Package: DevExpress.Win.Spreadsheet
Declaration
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.