Bewerken

Share via


DragDrop.RemoveGiveFeedbackHandler Method

Definition

Removes a GiveFeedback event handler from a specified dependency object.

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

Parameters

element
DependencyObject

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

handler
GiveFeedbackEventHandler

A delegate that references the handler method to be removed.

Remarks

The GiveFeedback event occurs during a drag operation.

This method removes a handler for the bubbling version of the GiveFeedback event. To remove a handler for the tunneling version of this event, see RemovePreviewGiveFeedbackHandler.

Applies to

See also