Edit

Share via


Behavior.OnDragDrop(Glyph, DragEventArgs) Method

Definition

Permits custom drag-and-drop behavior.

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)

Parameters

g
Glyph

A Glyph object on which to invoke drag-and-drop behavior.

e
DragEventArgs

A DragEventArgs that contains the event data.

Notes to Inheritors

You can override the OnDragDrop(Glyph, DragEventArgs) method so that a Behavior can specify its own drag-and-drop rules.

Applies to

See also