Skip to main content

SpreadsheetControl.CopiedRangePasted Event

Occurs after the range content has been pasted into target cells.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.1.dll

NuGet Package: DevExpress.Win.Spreadsheet

Declaration

public event CopiedRangePastedEventHandler CopiedRangePasted

Event Data

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

Property Description
SourceRange Gets a cell range from which the data has been copied.
TargetRange Gets a cell range into which the data has been pasted.

Remarks

Handle the CopiedRangePasted event to perform specific actions each time an end-user pastes data from a cell range in the current workbook. The event argument’s properties allow you to obtain the copied and destination ranges.

To cancel the paste operation, handle the SpreadsheetControl.CopiedRangePasting event that is raised before a cell range is pasted.

See Also