BehaviorDragDropEventHandler 代理人

定義

表示將處理 BeginDragEndDragBehaviorService 事件的方法。 此類別無法獲得繼承。

public delegate void BehaviorDragDropEventHandler(System::Object ^ sender, BehaviorDragDropEventArgs ^ e);
public delegate void BehaviorDragDropEventHandler(object sender, BehaviorDragDropEventArgs e);
type BehaviorDragDropEventHandler = delegate of obj * BehaviorDragDropEventArgs -> unit
Public Delegate Sub BehaviorDragDropEventHandler(sender As Object, e As BehaviorDragDropEventArgs)

參數

sender
Object

事件的來源。

e
BehaviorDragDropEventArgs

BehaviorDragDropEventArgs,其中包含事件資料。

備註

當您建立 BehaviorDragDropEventHandler 委派時,您會識別處理事件的方法。 若要使事件與您的事件處理常式產生關聯,請將委派的執行個體 (Instance) 加入至事件。 除非您移除委派,否則每當事件發生時就會呼叫事件處理常式。 如需事件處理常式委派的詳細資訊,請參閱 處理和引發事件

擴充方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。

適用於