ContentElement.GiveFeedback 事件
定义
在输入系统报告出现涉及此元素的基础拖放操作时发生。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 在 ContentElement 继承为基元素时,它是类成员列表的一部分。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 |
对应的隧道事件为 PreviewGiveFeedback 。The corresponding tunneling event is PreviewGiveFeedback.
重写 OnGiveFeedback 以在派生类中实现此事件的类处理。Override OnGiveFeedback to implement class handling for this event in derived classes.