Binding::AddTargetUpdatedHandler Method (DependencyObject^, EventHandler<DataTransferEventArgs^>^)

 

Adds a handler for the TargetUpdated attached event.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
static void AddTargetUpdatedHandler(
	DependencyObject^ element,
	EventHandler<DataTransferEventArgs^>^ handler
)

Parameters

element
Type: System.Windows::DependencyObject^

The UIElement or ContentElement that listens to the event.

handler
Type: System::EventHandler<DataTransferEventArgs^>^

The handler to add.

This method supports attached event usage in XAML.

.NET Framework
Available since 3.0
Return to top
Show: