ContentElement.GiveFeedback 事件


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

 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 此类创建附加事件的别名,以便 GiveFeedbackContentElement 继承为基元素时,它是类成员列表的一部分。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 ContentElement 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