DragDrop.AddGiveFeedbackHandler Method

Definition

Adds a GiveFeedback event handler to a specified dependency object.

public:
 static void AddGiveFeedbackHandler(System::Windows::DependencyObject ^ element, System::Windows::GiveFeedbackEventHandler ^ handler);
public static void AddGiveFeedbackHandler (System.Windows.DependencyObject element, System.Windows.GiveFeedbackEventHandler handler);
static member AddGiveFeedbackHandler : System.Windows.DependencyObject * System.Windows.GiveFeedbackEventHandler -> unit
Public Shared Sub AddGiveFeedbackHandler (element As DependencyObject, handler As GiveFeedbackEventHandler)

Parameters

element
DependencyObject

The dependency object (a UIElement or ContentElement) to which to add the event handler.

handler
GiveFeedbackEventHandler

A delegate that references the handler method to be added.

Remarks

The GiveFeedback event occurs during a drag operation.

This method adds a handler for the bubbling version of the GiveFeedback event. To add a handler for the tunneling version of this event, see AddPreviewGiveFeedbackHandler.

Applies to

See also