DataObject.Copying Attached Event

Definition

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.

see AddCopyingHandler, and RemoveCopyingHandler
see AddCopyingHandler, and RemoveCopyingHandler
see AddCopyingHandler, and RemoveCopyingHandler

Remarks

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.

Routed Event Information

Identifier field CopyingEvent
Routing strategy Bubbling
Delegate DataObjectCopyingEventHandler

Applies to