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

DataObject.Copying Attached Event


Occurs when the associated dependency object has prepared appropriate data formats that represent the copy selection, added the copy selection formats to a DataObject, and is ready to either place the DataObject on the Clipboard or begin a drag-and-drop operation.

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

See AddCopyingHandler, RemoveCopyingHandler

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

Identifier field


Routing strategy




Return to top
© 2016 Microsoft