DragDrop.AddGiveFeedbackHandler(DependencyObject, GiveFeedbackEventHandler) DragDrop.AddGiveFeedbackHandler(DependencyObject, GiveFeedbackEventHandler) DragDrop.AddGiveFeedbackHandler(DependencyObject, GiveFeedbackEventHandler) DragDrop.AddGiveFeedbackHandler(DependencyObject, GiveFeedbackEventHandler) Method

Definición

Agrega un controlador de eventos GiveFeedback a un objeto de dependencia especificado.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)

Parámetros

element
DependencyObject DependencyObject DependencyObject DependencyObject

Objeto de dependencia (UIElement o ContentElement) al que se va a agregar el controlador de eventos.The dependency object (a UIElement or ContentElement) to which to add the event handler.

handler
GiveFeedbackEventHandler GiveFeedbackEventHandler GiveFeedbackEventHandler GiveFeedbackEventHandler

Delegado que hace referencia al método de controlador que se va a agregar.A delegate that references the handler method to be added.

Comentarios

El evento GiveFeedback se produce durante una operación de arrastre.The GiveFeedback event occurs during a drag operation.

Este método agrega un controlador para la versión de propagación del evento GiveFeedback.This method adds a handler for the bubbling version of the GiveFeedback event. Para agregar un controlador para la versión de tunelización de este evento, vea AddPreviewGiveFeedbackHandler.To add a handler for the tunneling version of this event, see AddPreviewGiveFeedbackHandler.

Se aplica a

Consulte también: