Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetControl.RangeCopied Event

Occurs after the range content has been copied.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v24.2.dll

NuGet Package: DevExpress.Win.Spreadsheet

#Declaration

public event RangeCopiedEventHandler RangeCopied

#Event Data

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

Property Description
IsCut Gets or sets a value indicating whether the copied data is cut from the source range.
RangeReference Gets the reference to the cell range from which data has been copied.

#Remarks

Handle the RangeCopied event to perform any actions each time a user copies a worksheet range via the control’s UI.

To cancel the copy operation, handle the SpreadsheetControl.RangeCopying event that is raised before the cell range is copied.

See Also