Back to Devexpress

SpreadsheetControl.RangeCopying Event

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-c9af8b49.md

latest2.1 KB
Original Source

SpreadsheetControl.RangeCopying Event

Occurs before a cell range is copied in a worksheet.

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public event RangeCopyingEventHandler RangeCopying
vb
Public Event RangeCopying As RangeCopyingEventHandler

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the copy operation should be canceled.
IsCutGets or sets a value indicating whether data is being cut from the source range.
RangeGets or sets a cell range from which data is being copied.

Remarks

Handle the RangeCopying event to perform specific actions before an end-user copies a worksheet range using the control’s UI. You can cancel the copy operation by setting the event parameter’s Cancel property to true.

After a cell range has been copied, the SpreadsheetControl.RangeCopied event is raised.

See Also

RangeCopied

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace