UIElement.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 這個類別建立附加事件的別名, GiveFeedbackUIElement 繼承為基底專案時,它就是類別成員清單的一部分。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