Behavior::OnDragDrop Method (Glyph^, DragEventArgs^)

 

Permits custom drag-and-drop behavior.

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

public:
virtual void OnDragDrop(
	Glyph^ g,
	DragEventArgs^ e
)

Parameters

g
Type: System.Windows.Forms.Design.Behavior::Glyph^

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

e
Type: System.Windows.Forms::DragEventArgs^

A DragEventArgs that contains the event data.

Notes to Inheritors:

You can override the OnDragDrop method so that a Behavior can specify its own drag-and-drop rules.

.NET Framework
Available since 2.0
Return to top
Show: