Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataObject.Pasting Attached Event

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

Namespace: System.Windows
Assembly: PresentationCore (in PresentationCore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

See DataObject.AddPastingHandler, DataObject.RemovePastingHandler
See DataObject.AddPastingHandler, DataObject.RemovePastingHandler
See DataObject.AddPastingHandler, DataObject.RemovePastingHandler
<object DataObject.Pasting="DataObjectPastingEventHandler" .../>

Identifier field

PastingEvent

Routing strategy

Bubbling

Delegate

RoutedEventHandler

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.