Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataObject.Pasting Attached Event

 

Occurs when the associated dependency object is ready to paste data.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

See AddPastingHandler, RemovePastingHandler

This event is intended to provide an opportunity for applications to inspect the contents of the DataObject prior to the paste operation, change, remove or add data formats, or cancel the entire copy operation by calling CancelCommand.

Identifier field

PastingEvent

Routing strategy

Bubbling

Delegate

RoutedEventHandler

Return to top
Show:
© 2016 Microsoft