Szerkesztés

Megosztás a következőn keresztül:


DragDrop.RemovePreviewGiveFeedbackHandler Method

Definition

Removes a PreviewGiveFeedback event handler from a specified dependency object.

public:
 static void RemovePreviewGiveFeedbackHandler(System::Windows::DependencyObject ^ element, System::Windows::GiveFeedbackEventHandler ^ handler);
public static void RemovePreviewGiveFeedbackHandler (System.Windows.DependencyObject element, System.Windows.GiveFeedbackEventHandler handler);
static member RemovePreviewGiveFeedbackHandler : System.Windows.DependencyObject * System.Windows.GiveFeedbackEventHandler -> unit
Public Shared Sub RemovePreviewGiveFeedbackHandler (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 PreviewGiveFeedback event occurs during a drag operation.

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

Applies to

See also