UIElement.PreviewGiveFeedback UIElement.PreviewGiveFeedback UIElement.PreviewGiveFeedback UIElement.PreviewGiveFeedback Event

定义

在开始拖放操作时发生。Occurs when a drag-and-drop operation is started.

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

注解

PreviewGiveFeedback事件使拖动事件的源可以修改鼠标指针的外观, 以便在拖放操作过程中为用户提供视觉反馈。The PreviewGiveFeedback event enables 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.

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

路由事件信息Routed Event Information

标识符字段Identifier field PreviewGiveFeedbackEvent
路由策略Routing strategy 建立Tunneling
委托Delegate GiveFeedbackEventHandler

适用于