DataObject.Pasting Attached Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: