DragEventHandler Temsilci
Tanım
public delegate void DragEventHandler(System::Object ^ sender, DragEventArgs ^ e);
public delegate void DragEventHandler(object sender, DragEventArgs e);
type DragEventHandler = delegate of obj * DragEventArgs -> unit
Public Delegate Sub DragEventHandler(sender As Object, e As DragEventArgs)
Parametreler
- sender
- Object
Olay işleyicisinin eklendiği nesne.The object where the event handler is attached.
Olay verileri.The event data.
- Devralma
Açıklamalar
Bu temsilci aşağıdaki ekli olaylarla kullanılır.This delegate is used with the following attached events.
Bu temsilci, temel öğelerde aşağıdaki yönlendirilmiş olaylarla de kullanılır.This delegate is also used with the following routed events on base elements. Bu yönlendirilmiş olaylar, daha önce listelenen ekli olayları, içindeki genel öğe modeliyle daha erişilebilir hale getirmek için iletir WPFWPF .These routed events forward the previously listed attached events to make them more accessible to the general element model in WPFWPF.
Ekli olaylar ve temel öğe yönlendirilmiş olayları, olay verilerini paylaşır ve yönlendirilmiş olayların kabarcıklanma ve tünel oluşturma sürümleri de olay verilerini paylaşır.The attached events and the base element routed events share their event data, and the bubbling and tunneling versions of the routed events also share event data. Bu, olay rotasında ilerledikçe olayın işlenmiş özelliklerini etkileyebilir.This can affect the handled characteristics of the event as it travels the event route. Ayrıntılar için bkz. girişe genel bakış.For details, see Input Overview.
Uzantı Metotları
GetMethodInfo(Delegate) |
Belirtilen temsilci tarafından temsil edilen yöntemi temsil eden bir nesne alır.Gets an object that represents the method represented by the specified delegate. |