Pasting Attached Event
Collapse the table of content
Expand the table of content

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