GiveFeedbackEventHandler GiveFeedbackEventHandler GiveFeedbackEventHandler GiveFeedbackEventHandler Delegate


表示一种方法,该方法将处理进程内拖放操作中的反馈路由事件,例如 GiveFeedbackRepresents a method that will handle the feedback routed event from in-process drag-and-drop operations, for instance GiveFeedback.

public delegate void GiveFeedbackEventHandler(System::Object ^ sender, GiveFeedbackEventArgs ^ e);
public delegate void GiveFeedbackEventHandler(object sender, GiveFeedbackEventArgs e);
type GiveFeedbackEventHandler = delegate of obj * GiveFeedbackEventArgs -> unit
Public Delegate Sub GiveFeedbackEventHandler(sender As Object, e As GiveFeedbackEventArgs)


Object Object Object Object

事件处理程序所附加到的对象。The object where the event handler is attached.



此委托与以下附加事件一起使用。This delegate is used with the following attached events.

此委托还与基元素上的以下路由事件一起使用。This delegate is also used with the following routed events on base elements. 这些路由事件转发前面列出的附加事件, 使其更易于访问中WPFWPF的常规元素模型。These routed events forward the previously listed attached events to make them more accessible to the general element model in WPFWPF.

附加事件和基本元素路由事件共享其事件数据, 路由事件的冒泡和隧道版本也共享事件数据。The attached events and the base element routed events share their event data, and the bubbling and tunneling versions of the routed events also share event data. 这可能会影响事件在传输事件路由时的已处理特性。This can affect the handled characteristics of the event as it travels the event route. 有关详细信息, 请参阅输入概述For details, see Input Overview.

DragDrop.GiveFeedback启动拖放操作时, 将发生附加事件。The DragDrop.GiveFeedback attached event occurs when a drag-and-drop operation is started. 通过DragDrop.GiveFeedback附加事件, 拖动事件源可以修改鼠标指针的外观, 以便在拖放操作过程中为用户提供视觉反馈。The DragDrop.GiveFeedback attached event enables the source of a drag event to modify the appearance of the mouse pointer to provide the user with visual feedback during a drag-and-drop operation.


GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.