ContentElement.PreviewGiveFeedback 事件

定義

拖放操作開始時發生。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 附加事件的別名,因此,當 ContentElement 繼承為基底專案時,PreviewGiveFeedback 就是類別成員清單的一部分。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 ContentElement 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 - 委派Delegate GiveFeedbackEventHandler

適用於