UIElement.GiveFeedback UIElement.GiveFeedback UIElement.GiveFeedback UIElement.GiveFeedback Event

定义

在输入系统报告出现涉及此元素的基础拖放操作时发生。Occurs when the input system reports an underlying drag-and-drop event that involves this element.

public:
 event System::Windows::GiveFeedbackEventHandler ^ GiveFeedback;
public event System.Windows.GiveFeedbackEventHandler GiveFeedback;
member this.GiveFeedback : System.Windows.GiveFeedbackEventHandler 
Public Custom Event GiveFeedback As GiveFeedbackEventHandler 

注解

GiveFeedback事件允许拖动事件的源修改鼠标指针的外观, 以便在拖放操作过程中为用户提供视觉反馈。The GiveFeedback event allows the source of a drag event to modify the appearance of the mouse pointer in order to give the user visual feedback during a drag-and-drop operation. 视觉对象反馈强调正在处理拖放操作。The visual feedback reinforces that a drag-and-drop operation is in process.

此事件将为此类创建DragDrop.GiveFeedback附加事件的别名, 以便在GiveFeedback继承为基元素时UIElement , 它是类成员列表的一部分。This event creates an alias for the DragDrop.GiveFeedback attached event for this class so that GiveFeedback is part of the class members list when UIElement is inherited as a base element. 附加到GiveFeedback事件的事件处理程序附加到基础DragDrop.GiveFeedback附加事件, 并接收相同的事件数据实例。Event handlers that are attached to the GiveFeedback event are attached to the underlying DragDrop.GiveFeedback attached event and receive the same event data instance.

路由事件信息Routed Event Information

标识符字段Identifier field GiveFeedbackEvent
路由策略Routing strategy 冒泡Bubbling
委托Delegate GiveFeedbackEventHandler

适用于

另请参阅