Share via


Behavior.OnDragDrop(Glyph, DragEventArgs) Methode

Definition

Lässt benutzerdefiniertes Drag & Drop-Verhalten zu.

public:
 virtual void OnDragDrop(System::Windows::Forms::Design::Behavior::Glyph ^ g, System::Windows::Forms::DragEventArgs ^ e);
public virtual void OnDragDrop (System.Windows.Forms.Design.Behavior.Glyph g, System.Windows.Forms.DragEventArgs e);
public virtual void OnDragDrop (System.Windows.Forms.Design.Behavior.Glyph? g, System.Windows.Forms.DragEventArgs e);
abstract member OnDragDrop : System.Windows.Forms.Design.Behavior.Glyph * System.Windows.Forms.DragEventArgs -> unit
override this.OnDragDrop : System.Windows.Forms.Design.Behavior.Glyph * System.Windows.Forms.DragEventArgs -> unit
Public Overridable Sub OnDragDrop (g As Glyph, e As DragEventArgs)

Parameter

g
Glyph

Ein Glyph-Objekt, für das Drag & Drop aufgerufen werden soll.

e
DragEventArgs

Ein DragEventArgs, das die Ereignisdaten enthält.

Hinweise für Vererber

Sie können die OnDragDrop(Glyph, DragEventArgs) Methode außer Kraft setzen, damit eine Behavior eigene Drag-and-Drop-Regeln angeben kann.

Gilt für

Siehe auch