Export (0) Print
Expand All
Expand Minimize

DataObjectSettingDataEventHandler Delegate

Represents a method that handles DataObject.SettingData events.

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

public delegate void DataObjectSettingDataEventHandler (
	Object sender,
	DataObjectSettingDataEventArgs e
)
/** @delegate */
public delegate void DataObjectSettingDataEventHandler (
	Object sender, 
	DataObjectSettingDataEventArgs e
)
In XAML, you can use delegates but you cannot define your own.

Parameters

sender

The current element along the event's route.

e

A DataObjectSettingDataEventArgs object containing the arguments associated with the SettingData event.

The SettingData event occurs when an attempt is made to add a data format to the data object during a copy operation.

A SettingData event handler method is typically used to apply copy command optimization by filtering unwanted or unneeded data formats from being applied to a DataObject.

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft