Cette documentation est archivée et n’est pas conservée.

DataObjectCopyingEventHandler, délégué

Represents a method that handles DataObject.Copying events.

Espace de noms: System.Windows
Assembly : PresentationCore (dans presentationcore.dll)

public delegate void DataObjectCopyingEventHandler (
	Object sender,
	DataObjectCopyingEventArgs e
)
/** @delegate */
public delegate void DataObjectCopyingEventHandler (
	Object sender, 
	DataObjectCopyingEventArgs e
)
Dans XAML, vous pouvez utiliser des délégués, mais vous ne pouvez pas définir vos propres délégués.

Paramètres

sender

The current element along the event's route.

e

The Copying event occurs when a copy operation has finished converting the selected content into all specified data formats, has stored all data formats in the associated data object, and is ready to put the data object on the system clipboard or to begin a drag operation.

A Copying event handler method typically inspects the contents of the data object passed in as an event argument, and performs custom operations on the data object, such as adding, removing, or modifying data formats. This handler method may also cancel the copying event by calling CancelCommand.

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0
Afficher: