Back to Devexpress

ISpreadsheetComponent.ClipboardDataObtained Event

officefileapi-devexpress-dot-spreadsheet-dot-ispreadsheetcomponent-76773183.md

latest2.4 KB
Original Source

ISpreadsheetComponent.ClipboardDataObtained Event

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

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
event ClipboardDataObtainedEventHandler ClipboardDataObtained
vb
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.

See Also

ISpreadsheetComponent Interface

ISpreadsheetComponent Members

DevExpress.Spreadsheet Namespace