Export (0) Print
Expand All

Behavior.OnDragDrop Method

Permits custom drag-and-drop behavior.

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

'Declaration
Public Overridable Sub OnDragDrop ( _
	g As Glyph, _
	e As DragEventArgs _
)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft