Compartir a través de


Behavior.OnDragDrop(Glyph, DragEventArgs) Método

Definición

Permite un comportamiento personalizado de arrastrar y colocar.

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)

Parámetros

g
Glyph

Un objeto Glyph en el que se invocará el comportamiento de arrastrar y colocar.

e
DragEventArgs

Objeto DragEventArgs que contiene los datos del evento.

Notas a los desarrolladores de herederos

Puede invalidar el OnDragDrop(Glyph, DragEventArgs) método para que pueda Behavior especificar sus propias reglas de arrastrar y colocar.

Se aplica a

Consulte también