Back to Devexpress

Workbook.ClipboardDataObtained Event

officefileapi-devexpress-dot-spreadsheet-dot-workbook-77e3d1af.md

latest2.7 KB
Original Source

Workbook.ClipboardDataObtained Event

Occurs after data on the clipboard is obtained and recognized, but before data is actually pasted.

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this event in production code.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public event ClipboardDataObtainedEventHandler ClipboardDataObtained
vb
Public Event ClipboardDataObtained As ClipboardDataObtainedEventHandler

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
FlagsGets or sets the part of the copied data to be pasted into the target range.
RangeGets or sets a cell range in a worksheet from the temporary document model (returned by the ClipboardDataObtainedEventArgs.GetWorksheet method) containing data to be pasted.

The event data class exposes the following methods:

MethodDescription
GetWorksheet()Gets a worksheet from the temporary document model containing data to be pasted.

Implements

ClipboardDataObtained

See Also

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace